This function returns the name of the next active user in a given group, for a given round-robin queue.
The queue name is an arbitrary name. The queue is automatically created the first time a queue is used in the function. Each time the function is called on the same pair of arguments (group, queue), a different user in the group is returned.
The queue can be used in different transitions of the same or different workflows within the same Jira instance.
Null is returned if the group is empty.
nextUserInGroup(group, queue) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the user name of the next user in group jira-developers for the round-robin queue code-review-queue. Each time the function is called with the same pair of arguments, a different user name is returned. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid Jira group. |
|
|
text |
Any type of text. |
Output
This function returns a text
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|