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:
...I get 0 results. If I try:
...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)
This isn't a bug. The limit really is 1000 no matter where you start at.
If you're on Server, there's a way to defeat the 1000 record maximum. https://confluence.atlassian.com/adminjiraserver076/limiting-the-number-of-issues-returned-from-a-search-view-such-as-an-rss-feed-941596303.html
Make sure you lock this down to a specific group (just your api account probably) as mentioned in the doc. Overriding the limit and frequent use of 1000+ record queries will be a performance hit while running.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs