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
Community showcase
Posted yesterday in United States

From Atlassian: Confluence Security Advisory - 2019-03-20

Atlassian released a security advisory on 3/20/2019.  The full advisory is here:  https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html In a nutshe...

22 views 0 1
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