Converting (or casting) data types is very important throughout all functions provided by JWT. To be able to set, transform or calculate values it might be necessary to turn a text value to a number, a number or a timestamp to a text, and even individual text or number values to a list. The following functions will help you to achieve that. Whenever you write a numeric term at the right-hand side of the + operator or a comparison operator like Converts a text containing issue keys to an issue list. ISSUE LIST Converts a text and lists to a logical value. BOOLEAN NUMBER Converts text to a number list. NUMBER LIST Converts numbers and lists to plain text. TEXT TEXT LIST=
, and the left-hand side is occupied by a text term, the parser will automatically transform the right-hand side term into a text toString().Operator Example +
"His age is "
+ 30
is equivalent to
"His age is " + toString(30)
= (any comparison operator)
"30"
= 30 is equivalent to "30" = toString(30)
Available functions
Function Short description Output issueKeysToIssueList() toLogicalValue() toNumber() Converts a text to a number. toNumberList() toString() toStringList() Converts text to a text list.
If you still have questions, feel free to refer to our support team.