Info |
---|
|
This routine is available starting with katl-commons 4.0.3. 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 | getStatusIdByName(statusName) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Gets the status id by the status name. |
Gets the status id by the status name.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
statusName | |
...
String | Yes | Name of the status. |
|
Return
...
string
Returns the status id for the status name provided.
Note |
---|
On the cloud version, only the statuses that are associated with a workflow are searched for. |
Type
String
Example
Code Block |
---|
return getStatusIdByName("Done");
|
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jiraworkflow_transition_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_transition_routineroutines |
---|
|