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 votes

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,098 views 4 9
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