Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

how to get list of all users in jira using api


Tried to list all Jira users using  API without any luck.

This the API I tried to hit.

http://ec2-54-237-77-170.compute-1.amazonaws.com:8080/rest/api/2/user/bulk/migration

The response code is 404

was referring this documentation

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-bulk-migration-get

 

If possible can someone let me how to get a list of Jira users of a particular project also 

 

2 answers

1 vote
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 21, 2020

You're using Self hosted Jira, so you need to refer to Jira Server REST API rather than using the Cloud API. You can refer to GET User API or Find User. To return a list of all users, you will need to find a creative way to run a loop across the endpoint to extract any available user. You can use the Find user with Permission to locate which user has access to a specific project using the specific parameters. However returning a list of users of the project would require you writing a script to do such.

Suggest an answer

Log in or Sign up to answer