This function converts the decimal representation of a number (or timestamp) to plain text


 toString(number) #Output: Text



Parser expressionDescription


%{toString(3.141592)}


This example returns:

3.141592



Parameters used in this function

ParameterInput (data type)Description
number

Any given number or numeric field code.



This function returns a



Variant where you can additionally define the number of decimal places.


 toString(number, decimalPlaces) #Output: Text


Parser expressionDescription


%{toString(3.141592, 2)}


This example returns:

3.14



Parameters used in this function

ParameterInput (data type)Description
number

Any given number or numeric field code.
decimalPlaces

Any natural number including 0. 



This function returns a



Number list

This function converts any number list to plain text.

A comma-separated text with the decimal representation of each numeric value will be returned.


 toString(numberList) #Output: Text



Parser expressionDescription


%{toString([1, 2, 3, 4.0])}


This example returns:

1, 2, 3, 4



Parameters used in this function

ParameterInput (data type)Description
numberList

Any given number list.



This function returns a




Variant where you can additionally define the number of decimal places.


 toString(numberList, decimalPlaces) #Output: Text



Parser expressionDescription


%{toString([1.123, 2.452, 3.64612, 4], 2)}


This example returns:

1.12, 2.45, 3.65, 4.00



Parameters used in this function

ParameterInput (data type)Description
numberList

Any given number list.
decimalPlaces

Any natural number including 0. 



This function returns a



Text list

This function converts any text list to plain text.

A comma-separated text with each value will be returned.


 toString(textList) #Output: Text



Parser expressionDescription


%{toString(["Hello", " ", "world", "!"])}


This example returns:

Hello, , world, !


%{toString(%{issue.components})}


This example might return:

UI, portal, database



Parameters used in this function

ParameterInput (data type)Description
textList

Any given text list.



This function returns a



Issue list

Converts an issue list to a comma-separated text containing issue keys.


toString(issueList) #Output: Text



Parser expressionDescription


%{toString(subtasks())}


This example might return:

 "CRM-5, CRM-6 "

To achieve this the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
issueList

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).



This function returns a



Use cases and examples




Status
Tech review

Style guide



Short description

Converts numbers and lists to plain text.

Output