This function returns the status name for a given ID.

syntax
status(id) #Output: Text
Parser expressionDescription
%{status(1)}

This example returns the name of the status with the ID 1,

e.g. Open

Parameters used in this function

ParameterInput (data type)Description
id

NUMBER

A valid status ID.

This function returns a TEXT

If there is no status with the given ID, the function returns NULL

Use this function to ensure expressions will continue to work after renaming statuses.

Will continue to work after status name update 

(tick) 

Will fail after status name update

(error) 

%{issue.status} = status(1)
%{issue.status} = "In Progress"


Use cases and examples