getStatusIdByName
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 !
Availability
This routine is available starting with katl-commons 4.0.3.
This routine is available for Jira server and cloud deployment options.
Syntax
getStatusIdByName(statusName)
Description
Gets the status id by the status name.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
statusName | string | Yes | Name of the status. |
Return type
string
Returns the status id for the status name provided.
On the cloud version, only the statuses that are associated with a workflow are searched for.
Example
return getStatusIdByName("Done");
See also