I am trying to get all pinned builds using TeamCity REST API, and the result set doesn't match actual number of pinned builds.
For example, total number of pinned builds I got from 'history' table with condition PIN=1.
Here is what I've tried with REST API
http://TCserver:8111/httpAuth/app/rest/builds/?locator=pinned:true,project:<id of project> , and for the certain project result set is zero, but there are pinned builds.
We are using TeamCity Enterprise 8.1.2 (build 29993).
Anyone else experience the same ? Any help or suggestion is more than welcome.