Get the users / groups inside a security level using the JIRA REST API

I'm trying to recreate the access list system in JIRA according to project and issue for all the users. I'm already done with the issue view permission but from what I can see, I cannot get the users in a given security level in a given security scheme.

I can list the issue security level present in a project or its security scheme but I cannot get the users / groups inside it.

GET /rest/api/2/project/{projectKeyOrId}/issuesecuritylevelscheme is the one to call to get the security level scheme

GET /rest/api/2/project/{projectKeyOrId}/securitylevel is the one to list the security levels present in a project that the user ahs access to.

Old questions on the atlassian forums stated that it was impossible to get the users inside a security level. From an issue, I can get its security level so why the information is here if I can't connect it to anything else ? Actual link : https://community.atlassian.com/t5/Jira-questions/Retrieve-members-in-securitylevels/qaq-p/30357

I'm a bit lost currently on how to retrieve members from security level using the REST API

1 answer

1 vote

This looks currently to be an open item in suggestions for the jira team.

JRASERVER-65747

I saw that when I was searching, I'm currently using the Java Jira API to do this as it is the only solution for now

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,301 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot