Can i get JIRA REST API to find all the users Assigned for a particular project
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:
Best regards,
Bill
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
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.