Hi Atlassian Community Developers,
I am using this API - rest/api/2/users/search to return all the users in Jira. The API is returning the data however it is not returning all of it. When I look at the data I can see that some users are missing and yet they do exist in Jira. I think the reason the API is behaving this way is because it is missing the pagination parameters.
Do you guys know how do I specify pagination in Jira? For instance, what parameter(s) should I specify in order for this Jira API to return all the data that I am looking for.
Please advise.
Thank you,
Johannes
Hi @jmweli
Please try using the startAt and maxResults parameters with your call:
For example:
yourJiraUrl/rest/api/3/user/search/?query=displayName%20!%3D%20bill&startAt=51
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.