My requirement is:
Unfortunately I am not able find any REST APIs for both of these operations !
Can you please help me. Thanks :)
Hi,
You need to use this API
rest/api/2/project/{projectIdOrKey}/role
you'll get all the role in your project then use this API to get all users that belong to this role
/rest/api/2/project/{projectIdOrKey}/role/{id}
https://docs.atlassian.com/software/jira/docs/api/REST/9.3.2/#api/2/project/{projectIdOrKey}/role
@Mohamed Benziane : Yes it worked ! thank you so much for your suggestion :)
May be Atlassian documentation should be updated for this Get Project Role REST API like "this will return the assigned list of users".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They need to have a straightforward API which would return the user with associated project roles.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have similar question on how to extract list of user and list of their respective roles in each of projects. Can i do without using API? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In jira cloud this not possible without API. In DC may be you can use the database to get the data you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for responding! I'm referring Jira web (not Jira cloud). Please provide steps if possible. Appreaciate the help. Thanks a lots
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.