This function converts the decimal representation of a number (or timestamp) into plain text.
This is one of the most commonly used functions in JWT.
Whenever any type of list is returned by a field code or parser function (e.g. subtasks()) and you are using the advanced text parsing mode, the toString() function converts the output to a readable format.
This is especially helpful if you want to test your expression.
toString(number) #Output: Text
Variant where you can additionally define the number of decimal places.
toString(number, decimalPlaces) #Output: Text
Number list
This function converts any number list into plain text.
A comma-separated text with the decimal representation of each numeric value will be returned.
toString(numberList) #Output: Text
Variant where you can additionally define the number of decimal places.
toString(numberList, decimalPlaces) #Output: Text
Variant where you can additionally define a specific separator.
toString(numberList, decimalPlaces, separator) #Output: Text
Text list
This function converts any text list into plain text.
A comma-separated text with each value will be returned.
toString(textList) #Output: Text
Variant where you can additionally define a specific separator.
toString(textList, separator) #Output: Text
Issue list
Converts an issue list into a comma-separated text containing issue keys.
toString(issueList) #Output: Text
Variant where you can additionally define a specific separator.
toString(issueList, separator) #Output: Text