We have a workflow where we use a screen to change the assignee before a specific step. We want only assignees from a specific usergroup to be valid, otherwise JIRA should throw a message.
We tried scriptrunner, but it is not working. We integrated the following script as a validator using script runner:
import com.atlassian.jira.component.ComponentAccessor def groupManager = ComponentAccessor.getGroupManager() groupManager.isUserInGroup(issue.assignee?.name, 'group-name')
JIRA is the latest version.
Any other ideas?
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
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