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 numbernumeric parsing mode is the perfect fit if you need to perform any kind of calculation or if you want to simply set a number 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 or need to be converted or casted. 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.


Image Modified

 Example

Example expressions

Parser expressionDescription


Code Block
languagebash
linenumberstrue
This1 is the issue summary: %{issue.summary}+ 1


This example might returnreturns:

This is the issue summary: JWT 32.0 wording update


Code Block
languagebash
linenumberstrue
Next status update needed by: %{issue.dueDate}round(0.75)


This example might returnreturns:

Next status update needed by: 30.07.20201.0


Code Block
languagebash
linenumberstrue
This issue has been re-assigned to %addDays({issue.assignee}.

This example might return:

This issue has been re-assigned to a.grant.
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


You can write your text in basic text mode, and then switch to Advanced text mode using the automatic parsing mode converter.

The text to be parsed will be automatically rewritten as a text expression. Now, you can simply make the modifications you require, making use of text formatting functions, or insert math or time expressions where needed.

To update issue fields, the parsing result will be cast to the expected value e.g. a user name will be cast to a user to update a user field like the assignee field.

Page properties
hiddentrue
Short descriptionCompose free text and optionally use field codes to be replaced with values at runtime.
Supported elements
Output

Status
subtletrue
titletext

Page properties
hiddentrue


Tech review
Icon
status

Image Added

titletodo
Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
StatuscolourRedtitleflagged
Short descriptionCalculate numeric values or set numeric issue fields.
Supported elements
Output

Status
subtletrue
titletext