It seems that paging and startAt for /rest/api/2/user/search is broken.
We have more than 1000 Jira users. It is however impossible to get past the 1000th user when querying the REST API.
The documents correctly say that maxResults is limited to 1000 records. Fine; so use startAt to get the second page and beyond, right?
However, if I try the following:
/rest/api/2/user/search?username=.&maxResults=1000&startAt=1000
...I get 0 results. If I try:
/rest/api/2/user/search?username=.&maxResults=1000&startAt=990
...I get 10 results.
Basically, even though I have more than 1000 users, the API results are always cut off at the 1000th.
I've seen this question raised before, but no answer was forthcoming, so I thought I'd raise it again...
(Jira version is 7.3.1)