Hi,
I have a requirement to get the list of users per role per project in JIRA cloud. I know that all the list of roles per project can be generated using API. But I need the list of users per role per project. May I know if this is possible in JIRA cloud. If not, what will be the best work around for this.
Thanks & Regards,
Ganesh Kumar Vary
Hi @Ganesh Kumar Vary ,
If you are open to using apps, you can use Roles Dashboard for Jira , released by our company.
You can see clearly which user is assigned to which role and in what project across your organisation.
Regards,
Petru
I believe you can get there with the APIs if you want to continue down that path.
Try this :-) .
https://splitdimedata.atlassian.net/rest/api/3/user/permission/search?projectKey=DEV&permissions=BROWSE
Docmentation is here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An Update -- I see your question was really about ROLE and not PERMISSION.
The first Endpoint will give you roles in the project .
The second endpoint gives you the role details and actors.
In my test, I get users who I added to the Role througvh Project Settings. This set of endpoints probably only gives you project level detail and you may need to go back to the permission scheme for any defaults??
A good sanity test would be to crossreference the role response with the permissions endpoints I provided earlier until you determine (for certain) no one is falling though your checks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ganesh Kumar Vary
Easier way would be to write a Python script that will do this. Use the help of Claude to create this script. And test it as well.Ask LLM to use the requests libraries instead because with environment variables you might get confused.
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.