Jira API Call does not return more than 100 results
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
When trying to retrieve 1000 results with the API Call below, it only returns 100 results.
1
https://<URL>/rest/api/2/user/search?username=.&startAt=0&maxResults=1000
Environment
Jira / Server < 8.20.6
Cause
There is a BUG in Jira versions < 8.20.6 as outlined at:
Solution
Schedule a upgrade of your instance into Jira 8.20.7+ so you can fix this BUG.
Was this helpful?