Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST API for User Search is not returning more than 1000 User records

I am using following REST API to get all the users on our JIRA server, but it never returns any additional record after 1000. There are more than 1000 users on server.

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

It returns 1000 records. Then we execute following to get remaining records but we it always returns empty

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

Any help on this issue? startAt & maxResults work fine till total record fetched is upto 1000 records, for example following REST call works but returns only 10 records (990 to 1000) even though there are 1100 users on server.

https://myjiraserver/jira/rest/api/latest/user/search?startAt=990&maxResults=50&username=.

2 answers

0 votes

Hi,

could you try this link

 https://myjiraserver/jira/rest/api/2/user/search?startAt=1101&maxResults=500&username=e

For me it's worked on the API 2. 

 

 

 

 

Thanks Gonchik. I am still getting empty result. Is there any setting on server to be made in order to get users beyond 1000? Thanks in advance.

Yes, I have some changes in jira-config.properties

you can read here 

https://confluence.atlassian.com/jirakb/exporting-a-filter-result-containing-more-than-1000-issues-191500982.html

 

About empty, maybe you don't have users more then 1101 with 3 character?

 

I followed your suggested link but still not able to fetch more than 1000 users. I can see there are 1586 users on server. Any other suggestion please?

I can not comment more than twice in 24 hours due to Atlassian limitation for new users so replying late, sorry about it.

Zamir, Did you find a solution to this problem?

0 votes
Dario B Atlassian Team Jul 11, 2019

Hi,

Even if this is an old Thread I can see  there is no solution so it may help someone to know that this is actually a known bug tracked as:

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

188 views 0 7
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you