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?
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot