isInGroup()

This function checks if a user or group of users are members of a group.

Multiple users can also be provided in a comma-separated list of account idsgroup names or role names. In that case, the function will return true only if all users in the list, groups of the list, and in the roles of the list, are in the given group.

Bash
isInGroup(users, group) #Output: Boolean

Examples

Parser expression

Description

Bash
%{isInGroup(%{issue.assignee}, "jira-developers")}

The function returns true if the assignee is in group jira-developers.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

users

text

Text containing one or more valid account IDs, group names, or project role names, separated by commas.

group

text

Text containing a valid Jira group.

Output

This function returns a BOOLEAN