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

Compare with Current View Page History

« Previous Version 3 Next »

The function returns a TEXT representing the name of the active user playing a project role with the name projectRoleName in the current issue's project, and has the lower number of issues with resolution empty assigned; or "" if there isn't any user in the project role.

Parameter projectRoleName can be a comma-separated list of project role names, returning the least busy users among the project roles.

Syntax
leastBusyUserInRole(text projectRoleName) #Output: Text
Examples
Parser expressionDescription
leastBusyUserInRole("Developers")

The function returns the user playing the role Developers in the current project with the least number of unresolved issues in all the Jira instance assigned.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT


Equivalent to the previous function but with extra argument projectKey for selecting the project argument projectRoleName refers to.

Syntax
leastBusyUserInRole(text projectRoleName, text projectKey) #Output: Text
Examples
Parser expressionDescription
leastBusyUserInRole("Developers", "CRM")

The function returns the user playing role Developers in project with key CRM with the least number of unresolved issues in all the Jira instance assigned.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT


Equivalent to the previous function but with extra argument jqlQuery, used for restricting the issues to be considered to pick the least busy user.

Syntax
leastBusyUserInRole(text projectRoleName, text projectKey, text jqlQuery) #Output: Text
Examples
Parser expressionDescription
leastBusyUserInRole("Developers", %{00018}, "project = " + %{00018})

The function returns the user playing role Developers in the current project, with the least number of unresolved issues in current project assigned.

%{00018} is field code for Project key.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT