You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This function returns the name of the next active user in a group with name groupName, for a round-robin queue with name queueName. The text queueName is an arbitrary name. The queue is automatically created the first time a queue is used in a function call. 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.

Syntax
nextUserInGroup(string groupName, string queueName) #Output: Text
Examples
Parser expressionDescription
nextUserInGroup("jira-developers", "code-review-queue") 
This example returns the username of the next user in group jira-developers for round-robin queue code-review-queue.
Each time the function is called with the same pair of arguments, a different username is returned.
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT