Components
This function returns the user name of a component lead of a specified component.
You can also provide a comma-separated list of components and the function returns a comma-separated list of user names.
The output will contain duplicate user names if the same user is a lead of more than one component.
componentLeads(components) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the name of the component lead of the UI component associated with the current issue, e.g. admin.istrator |
|
Bash
|
This example returns a comma-separated text with the user names of the all component leads for components associated with the current issue, e.g.: admin.istrator, bob.smith |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text including a component name or a comma-separated list of component names. |
Output
This function returns a text
Components with project key
Variant where you can additionally define a project key
componentLeads(components, projectKey) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
The function returns the user name of the Web Portal component lead for the CRM project, e.g.: admin.sitrator |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text including a component name or a comma-separated list of component names. |
|
|
text |
Text including a project key. |
Output
This function returns a text
📚 Use cases and examples
| Use case | Workflow function | Field type | Automated action | Parser functions |
|---|