I am using the REST API V2 version and want to get all JIRA users.
I am using GET rest/api/2/users?maxResults=2000 Endpoint for getting all JIRA users but It will return 1000 instead of 2000 users.
Can anyone please help me out with this issue?
All other API calls only return 100 results.
What you'll need to do is to page through all the results using the startAt parameter, so you can either set maxResults to 1000 or leaving it off.
The first call will have startAt=0, then the next one will be startAt=1000 etc. until you have all the results.
I've just looked at the documentation here which states that only 50 results are returned at a time, so I'm not sure how you are getting 1000.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event