I'd like to have a post-function for issue creation that updates the "security level" field if the reporter of the ticket belongs to a certain group. I haven't been able to find a way to do this with default add-ons or Jira Workflow Toolbox or with "update on transition" add-ons.
How can I accomplish this?
Thanks a lot. I think you missed a closing brackets, but I still get an error saying ">>if<<" is not defined. I really appreciate the help, but I'd not bother you if you could point me to a reference for the syntax.
If (userInGroup(user_group, reporter))
security = security_level;
yes , you found a response :)
the reporter is a standar variable you can look at this link it could help you a know all standard variables
Just if the answer is good , pleas could you accept it to help other
thanks in advance
the script looks good to me, it's the most simple script now:
if (userInGroup("XYZ", reporter));
security = "Level1";
But this doesn't work as expected: Even if the reporter is not a part of "XYZ" group, the issues are created wit "Level1" security level. The default is "Level0".
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :). In the spirit of this month's august-challenge, we're sourcing stories of Jira Service Desk activation fro...
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