How to remove issue level security between issue types

I am using v7.1 server and have set issue security for my developers group for Incident types only. The problem is once I edit an issue to change the issue type to something other than incident, the security level remains. I would like the issue security to leave with the issue type so others are then able to view the issue.

1 answer

0 vote

The security level is not issue type dependent, it's a project thing.  Just changing issue type should have no effect because there's nothing to change.

You'll need to find or write a listener that can pick up "issue type change" and clear the security level if it spots incident moving to <other>

Thank you. Where would I find a listener? You are speaking about making changes to the workflow,  correct? 

I did create a post function to try setting the security level to none however nothing worked. 

Nonetheless, I will search for listeners.

Thanks again for the quick response. 

Listeners are things that react to events.  They run outside the workflow.  Workflows throw events, but so do some config actions, and actions on issues that are not part of the workflow.

The reason I said listener is that you need to capture all possible issue updates as it is possible to "edit" the issue type, as well as "move" the issue to another type.  Those two events are "issue updated" and "issue moved", both of which are not workflow events!

Do I need to know a code to create the listener? I do not currently have any listeners created that aste similar to what i am trying to do. Thanks. 

I suspect you will have to write this one, yes.

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...

82 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