Warning |
---|
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 ! |
Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 3.1.9. |
Syntax
getWorkflowStatusIds(workflowName [, isDraft])
...
Excerpt |
---|
Retrieves an unique list of statuses (ids) for a given workflow. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
workflow name | String | Yes |
Name of the given workflow. | ||
isDraft | Boolean | No |
Flag for specifying whether we should consider the draft or not. If not specified, it defaults to "false". |
Return type
string []
The return value is an array of strings, containing the ids for the existing statuses in the workflow.
...
Setting the second parameter to "true", if we do have a draft where another status is added, the result will contain this status also.
...