Info |
---|
|
This routine is available starting with SIL Engineā¢ 1.1.This routine is available for Jira server and cloud deployment options. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | isTeamLeader(project, username) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Verifies if the specified user is a team leader on the project (if it is a component lead). |
Verifies if the specified user is a team leader on the project (if it is a component lead).
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
project key | String | Yes | Key of the selected project. | user name | String | Yes | User name of user that is verified. | |
Return
...
Type
Boolean
A "true" return value means that the specified user is component lead on at least one component of the specified project.
...
Code Block |
---|
//Team leaders of the current project are : TM1 and TM2
isTeamLeader(project, currentUser());
|
Returns "true" if the current user is TM1 or TM2 and "false" if the current user is other than TM1 or TM2.
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jirauser_project_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_project_routineroutines |
---|
|