JIRA Group permission query

Hi Guys,

I'm looking for query for JIRA databse what will print a project permission requested JIRA user group 

 

thanks in advance

2 answers

1 accepted

There is a KB article that has a basic query that you can use as a starting point here.  This will list Project Permissions for a Group or User.  As Nic said, it is not comphrensive in terms of what users can and cannot do throughout the entire Project, but t will tell you what Project Permissions are being used:

https://confluence.atlassian.com/pages/viewpage.action?pageId=790630266

Also, for reference:  https://confluence.atlassian.com/jira/managing-project-permissions-185729636.html

Thanks that should be enough, and good base for extend this query.

0 vote

There is not a simple way to do this.  As a member of a group, I could have a project permission granted to me because:

  • The permission scheme uses the group
  • The permission scheme uses a role and that group is placed in the role
  • The permission scheme uses a custom field and the group might be named in that field which can be "fun" because it means you have to read every issue in the project, and it could be out of date on the next issue update.
  • The workflow may also grant transition rights in the same ways as the permission scheme.
  • And there's security schemes

Bascially, you'll need to write a whole load of queries and merge the results.  May I ask what the overall goal is here?

 

I would like to get know where exactly specific group had access at JIRA and print that info at confluence using PocketQuery plugin, struggling with this query already few days sad

That's a very complex task you've set yourself. The SQL for getting it out as a single query is far too complex and includes the need to parse xml while you're at it if you want a proper accurate answer to "who can do what in my project". I'd go back to your users and ask why they need this and tell them that it's a small project that they're going to have to fund if they want it.

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,310 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