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.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.