Can the default security level of an issue change depending on the user type?

We are beginning to let users into JIRA and we are trying to make it so when a client creates an issue they can see it. But when a employee creates an issue their default security setting is so that the client cannot see it. We are trying to make it idiot proof so that the employee will actively have to make it viewable to the client.

1 answer

You could add a transition named "Open for client" to the open state. This transition contains a post function that changes the security level programmatically to the proper level for clients. There exist plugins for that or you can do it using the Groovy Script Runner post function. There is sample code here:

You should add a condition to the transition so only the reporter and member of the employees group/role can execute the transition. So of course my solution requires your employees either grouped in a Jira group or role (e.g. Developers).

You could also consider to add an ANDed condition which also checks if the security level is not set to the proper security level. But this would also be another nice question on answers ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

69 views 4 0
View post

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