Group Id
This function returns the name for a given Atlassian Group ID. In case the given ID is not valid or empty, null is returned.
groupName(groupId) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the name of the group with ID "7d6e5c05-30e9-4790-8462-df6d8da1c39b", e.g.: jira-users-documentation |
|
Bash
|
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
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid Atlassian group ID. |
Output
This function returns a text LIST
Group Id 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.
groupName(groupIdList) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
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 |
|
Bash
|
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: |
|
Bash
|
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
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any valid text list containing Atlassian group IDs. |
Output
This function returns a text list
📚 Use cases and examples
| Use case | Workflow function | Parser functions |
|---|---|---|
| Send email to the project lead for a system managed in Jira Service Management Assets |