Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available starting with katl-commons 4.0.3.

This routine is available for Jira server and cloud deployment options.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getStatusIdByName(statusName)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets the status id by the status name.

Gets the status id by the status name.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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