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

1 vote
Justin Burke Atlassian Team Dec 04, 2015

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

281 views 4 9
Read article

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