Abstract
This code snippet checks that the current user is the member of a specific group.
...
The output of the code is a boolean value (true
or false)
which you could use to conditionally execute a Post-function/Condition/Validator or Unlink issues, for example: To assign the issue to the current user only when the user belongs to the "jira-administrators" group.
Code Block | ||||
---|---|---|---|---|
| ||||
ComponentAccessor.getGroupManager().isUserInGroup(currentUser, "jira-administrators") |
...
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|