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

Can i get JIRA REST API to find all the users Assigned for a particular project

druben I'm New Here May 25, 2021

Can i get JIRA REST API to find all the users Assigned for a particular project

1 answer

Hi @druben -- Welcome to the Atlassian Community!

You can find all of the assignable users with:

https://docs.atlassian.com/software/jira/docs/api/REST/1000.1568.0/#api/2/user-findAssignableUsers

Or, if you want to narrow the permissions set for the project, please try this:

https://docs.atlassian.com/software/jira/docs/api/REST/1000.1568.0/#api/2/user-findUsersWithAllPermissions

Best regards,

Bill

druben I'm New Here May 26, 2021

Hi Bill,

I was able to get the project name and role with the help of this api
GET /rest/api/2/project/{projectIdOrKey}/role
But i was not able to access the id's to get the list of users for that particular role because of permission issues.

Is there any way or api to get the list of users "by giving projectId and group name"
so that we get the list of users for that project and group.

For Example:
projectName: JIRA
group: development
If we put these 2 in a RestApi we get the list of users

or any other way that would help me out?

Hi!  If you search on that REST API documentation page, you will find a method for group searches, but it does not account for project searches.  That is why I suggested starting from the user method, which does support searching by project but not by group.

You may want to also check in the develper community to see if someone has ideas from there: https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
TAGS

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