This function returns the name of a custom field option with a given ID. Options can be found in a selectable field.

option(id) #Output: Text
Parser expressionDescription
option(10000)

This example returns a text with the corresponding name of the option name with the ID 10000.

e.g. IT Department

Parameters used in this function

ParameterInput (data type)Description
id

A valid option ID.

This function returns a

If there is no option with the given id, the function returns .

Use this function to ensure expressions will continue to work after renaming a custom field option.

Will continue to work after option name update (tick)Will fail after option name update (error)
%{issue.cf10250} = option(10000)
%{issue.cf10250} = "IT Department"



Status
Tech review

Style guide

Short description

Returns the name of a custom field option.

Output

Available since

Label