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

Compare with Current View Page History

« Previous Version 4 Next »

The function returns the user name that is a leader of the component with the name component_name in the current issue's project.

This function also admits a comma-separated list of components and returns a comma-separated list of user names. The output will contain repeated user names if the same user is a leader of more than one component.

Syntax
componentLeader(text component_name)#Output: Text
Examples
Parser expressionDescription
Syntax
 componentLeader(%{00094}) 

This example returns a comma-separated text list with the user names of the leaders of the current issue's components.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT


Variant where you can additionally define a project_key.

Syntax
componentLeader(text component_name, text project_key) #Output: Text
Examples
Parser expressionDescription
Syntax
componentLeader("Web Portal", "CRM") 

The function returns the user name of the leader of the component with the name Web Portal in the project with key CRM.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
project_key

DATA TYPE

Parameter description.
Output

This function returns a TEXT