Example scripts
To homepage
Jira

Validate the User Group of the Assignee
App in script

ScriptRunner For Jira
by Adaptavist
Compatibility

Jira (8.0 - 8.14)

ScriptRunner For Jira (6.18.0)
Language |
groovy
import com.atlassian.jira.component.ComponentAccessor
// the name of the group you want to check
final String groupName = 'jira-developers'
issue.assignee ? ComponentAccessor.groupManager.isUserInGroup(issue.assignee, groupName) : false
Having an issue with this script?
Report it here