Grant access based on user group


I'm asked to setup a particular security on tickets.

I currently use a security scheme (private) to grant access to issues only to a restricted set of users (assignee, reporter...). So far, fairly easy.

But I'm asked to restrict access to tickets to users belonging to (for example) the same group as the reporter.

As all users have the same role within the project (key users) they all have the same rights but on all tickets for this project. Rights are defined on project level, not on issue.

Is there any way I can achieve this?

Thanks for your help


1 answer

1 accepted

0 vote

Not without code, and you'll need to define some rules more carefully. "In the same group as other user" is essentially useless. In most Jira installations, that rule works out as "everybody" because the default access model is "everyone who can log in is in jira-users, so everyone IS in the same group as me"

What you need to do to implement this is:

  • Add a group-picker custom field
  • Set up a security scheme that uses it (i.e allow access to user if they are in one of the groups in the group picker)
  • Decide on a rule for which groups you actually want to use
  • Implement that rule in a post-function on issue create, so that it populates the group-picker with the relevant groups

Hi Nic

Thanks for your answer.

Does not look that simple... :-(

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

765 views 2 19
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