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: http://blogs.onresolve.com/?p=140

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
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 4 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

21 views 0 3
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