We are trying to setup a functionality where the issue security level is set per user group.
We are using JIRA 6.4.10 with Service Desk 2.5.9 and ScriptRunner 188.8.131.52.
Script runner provides this functionality in JIRA workflows.
Somehow it does not work for us.
What we did:
When a member of the group sec-customers logs an issue the security level should be set to "sec-request"
The security level is set to "None" (or is not set)
We checked the code by adding a scripted field with the same code as in the post function an it returns "true" for the issues created by "sec-customers", so it should as well work in the post function.
If you wish we can have a look at our system configuration together.
Thanks and regards,
Can you please advise if you placed the post function as the last post function in the list on the create transition.
Also can you please share with us the following items below so that we can look to replicate and troubleshoot this for you:
I am having the same problem - I've written the script in the Script Runner post function and also placed this post function at the top of the list. It still does not work! Here is what my code looks like -
def groupManager = ComponentAccessor.getGroupManager()
TestUser is the group in which I want the Security Level to be automatically set to Company 1. Any suggestions? Thanks in advance.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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!
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