You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This function converts the a text which holds true or false to the boolean value true or false. Mainly used in connection with the function jiraExpression().

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

This example returns true if all subtasks have a component UI

To achieve this the following functions are used:

%{%{toBoolean("true")}
This is a very basic use case - it returns true.
Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text. 
If this text does not hold true or false, an error is returned!
Output

This function returns a BOOLEAN