Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • This routine is available starting with SIL Engineā„¢ 1.1.
  • This routine is available for Jira server and cloud deployment options.
    Info
    titleAvailability
    Table plus
    applyColStyleToCelltrue
    heading0
    columnTypess,s,s,s
    multiplefalse
    columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
    enableSortingfalse

    Syntax

    isTeamLeader(project, username)

    Package

    Alias

    Pkg Usage

    Description

    Excerpt
    hiddentrue
    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
    applyColStyleToCelltrue
    columnTypess,s,s,s
    heading0
    multiplefalse
    enableSortingfalse

    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)
    showLabelsfalse
    max25
    showSpacefalse
    cqllabel = "jirauser_project_routine" and space = currentSpace ( )
    labelsjiraarray_project_routineroutines