This function returns the value stored in a boolean variable, which was previously created using the setBoolean() function.


getBoolean(variableName) #Output: Boolean



Expression parserDescription


getBoolean("myBoolean")


This example returns the value stored in the variable named "myBoolean", e.g.:

true



Parameters used in this function

ParameterInput (data type)Description
variableName

The name of the stored variable.



This function returns a


To return the value you must have created the variable before, using the setBoolean() function within the same expression.



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

Since Jira Expressions allows to have variables, there is a simple workaround for this:

let myBoolean = issue.priority.name>"Medium";
myBoolean ? "It is correct": "It's not"







Status
Tech review

Style guide




Short description

Returns a value stored in a boolean variable.

Output

Available since

Label