You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am currently using below rest api for non-cloud jira server to fetch assignees, it is just giving maximum 100 assignees, and pagination is also not working after 100 though many users are present.
<Base url>/rest/api/2/user/assignable/search?project=<project key>&startAt=50&maxResults=100
I need all the users of the jira connection, but limited users are coming.
Welcome to Atlassian community!
Unfortunately, by default, the REST API returns 50 results which can be further set to maximum of 100 using 'maxResults=100'. We will have to use the pagination properties like 'startAt' to retrieve the other results. So, it is better to try to narrow down your search.
Hope this helps.
Thanks,
Vamsi
Hi Vamsi
I need all the users, but this pagination is not working after 100 i.e., I can't startAt=101 and get results. Everytime it is just giving 100 users only.
<Base url>/rest/api/2/user/assignable/search?project=<project key>&startAt=101&maxResults=100
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Shivani chittauri That's because that particular endpoint no longer supports the >startAt< parameter. So you go with user #0 to #99 and that's it. This change broke many of our client's daily tools, unfortunately Atlassian doesn't seem to be willing to finally fix their *BS* :-/
You may want to read for yourself:
https://docs.atlassian.com/software/jira/docs/api/REST/9.10.0/#api/2/user-findAssignableUsers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.