This function converts the a text which holds true or false to the logical value true or false. It is mainly used in connection with the function jiraExpression().

Syntax
 toLogicalValue(text) #Output: Boolean
Examples
Parser expressionDescription
toLogicalValue(jiraExpression("issues.every(c=>c.name=='UI')",subtasks()))

This example is used as a logical expression and returns true if all subtasks have a component UI

To achieve this the following functions are used:

toLogicalValue("true")
This is a very basic use case for a logical expression - it returns true.
Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text. 


(warning) If this text does not hold true or false, an error is returned!

Output

This function returns a BOOLEAN


Use cases and examples