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 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,947 views 19 22
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