User is only able to see issues that where reported by a group of people the user belongs to?

We have a scenario that requires us setup groups of users that are able to view issues that were reported by them.

Example:

User A, B and C are in a group of users. User D is in another group

User A should be able to see issues where either he is the reporter or B or C. He should not be able to see issues where user D is reporter.

1 answer

0 vote

No.

This doesn't work in any JIRA that I know of.  The simple reason is that you have a group that says "can use jira".  Everyone is in that group.  Even if you remove that group, and explicitly say "groups A, B, C and D can use JIRA as well as the other stuff we use them for", you have a problem in that all new users get added to all "can log in" groups automatically.

Because of that problem, there is nothing in JIRA that will let you do this directly.

The closest you can get without code is to forget the user side of it and simply tag the group(s) into the issues - so issue 123 belongs to group AAA, issue 456 belongs to DDD and so-on.  It's often easier to not try to do this at an issue level, but separate them up into projects instead.

With a little bit of code, you can relate it to users - I wrote a simple post-function that wrote selected groups (i.e. never jira-users) from the reporter's membership on to the issue when the issue was created.  It wasn't intended for security like this, but the same principle could be used to store the data you need to enable you to do it (I would tend towards using a scripted field).  Once you have the "issue belongs to group(s)" data, you can use that in an "issue security scheme"

 

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

489 views 3 11
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