This function returns the name for a given Atlassian Group ID. In case the given ID is not valid or empty, NULL is returned. 

Syntax
groupName(groupId) #Output: Text list
Examples
Parser expressionDescription
%{groupName("7d6e5c05-30e9-4790-8462-df6d8da1c39b")}

This example returns the name of the group with ID "7d6e5c05-30e9-4790-8462-df6d8da1c39b", e.g.: 

jira-users-documentation

%{groupName(%{issue.cf10058.id})}
This example returns the name of the group (for example, from a group picker custom field with a single group), e.g:
documentation-reviewers
Additional information

Parameters used in this function

ParameterInput (data type)Description
groupId

TEXT

Text containing a valid Atlassian group ID.
Output

This function returns a TEXT LIST


Variant for multiple groups. In case one of the given IDs is not valid or empty, NULL is returned to its position on the list. 

Syntax
groupName(groupIdList) #Output: Text list
Examples
Parser expressionDescription
%{groupName(["7d6e5c05-30e9-4790-8462-df6d8da1c39b","4c821246-22e7-46a7-b0b8-c0cf181aeaeb"])}

This example returns the names of the groups with the group IDs "7d6e5c05-30e9-4790-8462-df6d8da1c39b" and "4c821246-22e7-46a7-b0b8-c0cf181aeaeb", e.g.: 

jira-users-documentation, confluence-users-documentation

%{groupName(toStringList(%{issue.cf10057.id}))}
This example returns the names of the groups (for example, from a group picker custom field with multiple groups), e.g:

Human Resources, Marketing, Sales

To achieve this, the following function is used:

%{groupName([%{issue.cf10058.id},%{issue.cf10059.id}])}

This example returns the names of the groups (for example, from two group picker custom fields with a single group), e.g:

documentation-reviewers, product-owners

 

Additional information

Parameters used in this function

ParameterInput (data type)Description
groupIdList

TEXT LIST

Any valid text list containing Atlassian group IDs.
Output

This function returns a TEXT LIST


Use cases and examples


If you still have questions, feel free to refer to our support team.