Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue


Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Page status

Status
colourGreen
titlecomplete

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



UI Text Box
sizemedium
typeinfo

The numeric parsing mode is the perfect fit if you need to perform any kind of calculation or if you want to simply set a numeric field, such as Story Points. 

This mode accepts the use of field codes which will be replaced at runtime with the corresponding field value of the issue currently being processed. 

Field codes need to either return a number or a timestamp. Alternatively they can be converted (cast) from a text to number (e.g. using toNumber()). Additional information can be found in the Data types section.


Example expressions

Parser expressionDescription


Code Block
languagebash
linenumberstrue
1 + 1


This example returns:

2.0


Code Block
languagebash
linenumberstrue
round(0.75)


This example returns:

1.0


Code Block
languagebash
linenumberstrue
addDays({issue.duedate}, 2, LOCAL)


This example adds 2 days to the issue's due date. 

UI Text Box
typetip

The numeric mode can also be used for all date and date-time calculations

Do you want to see the result as a string? Just switch to the Advanced text mode and wrap your expression around one of the following functions:



UI Text Box
typetip

Make sure to read all about working with Numbers and Dates, times and time zones as they come with many extremely useful JWT expression parser functions.



Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Icon

Short descriptionCalculate numeric values or set numeric issue fields.
Supported elements
Output

Status
subtletrue
titletext