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

This widget could not be displayed.
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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

78 views 1 0
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