getProjectRoleIdByName

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center?Ā Click hereĀ !

The availability of the users personal data may be impacted by the recent changes by Atlassian in order to meet GDPR compliance. See the following for more information:

Description

Retrieves the id for the project role with the given name.

Parameters

Parameter name

Type

Required

Description

projectRoleName

String

Yes

Project role name.

Return type

number

The return value is a number representing the project role id.

Example

Project role with id "10200" has the name "programmers".

return getProjectRoleIdByName("programmers");

Result: 10200

See also