Issue visibility by group of assignee

I need the following:

When i assign a user to an issue, the issue must be visible to the user and the group and Project Role where the user is.

I will make an example to illustrate:

  • Bob, Mary and Ana are in the group A. 
  • July and Oscar are in group B. 
  • Bob, Ana and July are in the Project role of "Devs"
  • Mary and Oscar are in the Project Role of "Readers"
  • When someone assign Bob to an issue
    • The issue must be visible to Bob and Ana (Cause they are in the same group and project role)
    • The issue must not be visible to Mary, Oscar and July
  • But if we change the asignee to Oscar
    • The Issue must be only visible to Oscar

So a Issue only have to be visible to the user assignee and Intersection of group and project role the user belongs.

Do you know how to do it?

2 answers

Hi,

You may check "Issue security schemes" in Administration > Issue.

You can create security level based on groups/project role/...

In the screen of the issue, insert the field "level" and fill it with a security group.

Only the users in the right security group will be able to see this issue.

 

Yes, that way is the way i know, but the case i have is different, i dont know the group to restrict the issue security scheme. JIRA may read the group and Project role from the asignee and only let see the issue to the users in the intersection of Project role and Group from asignee.

No, JIRA does not read anything from  the assignee.  The assignee is the assignee.

I know, what i am asking, if there is a way to do it

Mmmm the way i see it, your main question is "is there a way to create groups that automatically add user in terms of their groups ?"

Actually, issue security schemes can be set through field. Maybe you can use that.

But the problem may remains the same since the main difficulty is that you don't know the people to put in the security level in advance.

Maybe there are solutions in the JIRA API that can help you through programmation.

 

 

0 vote

You can't do this.  The fact that the issue is assigned to Bob has nothing to do with the visibility of the issue except for when you want to implement a rule for "assignee can see the issue".  Bob's groups and roles may also let him see the issue, but they have nothing to say about who else can see the issue.

You need to set up a security scheme that allows you the right visibility rules, and then set the right security level for the issue at the same time you are assigning 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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

79 views 0 5
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