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().
true
false
toLogicalValue(text) #Output: Boolean
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")
true.
Parameters used in this function
text
Any given text.
If this text does not hold true or false, an error is returned!
This function returns a
Converts a text and lists to a logical value.