Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

/rest/api/latest/user/search api doesn't return all values

nagavenkatesh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2020

We are using the below API to get all the user, but it never returns any additional record after 1000. There are more than 1000 users on server.

 

https://jira-server/rest/api/latest/user/search?startAt=0&maxResults=1000&username=.

 

Any help on this issue , ?startAt & maxResults work fine till total records fetched is upto1000 records, if startAt is morethan 1000 it return empty for example the below rest call works but returns empty event there are 5000 users on server.

 

https://jira-server/rest/api/latest/user/search?startAt=1000&maxResults=1000&username=.

 

 

Thanks,

NagaVenkatesh

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events