Versions Compared

Key

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


Page properties
hiddentrue


Tech review

Status
titletodo

Style guide

Status
titletodo

Page status

Status
colourGreen
titlecomplete

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



UI Text Box
sizemedium
typeinfo

The mixed parsing mode is the perfect.... mode for Thorsten LetschertImage Removedexclusively used in the Send email post function.

Besides supporting field code replacement like in the Basic text mode, the usage of parser functions like in the Advanced text mode is also available when being put between three curly braces, e.g. {{{subtasks()}}.


Example expressions

Parser expressionDescription


Code Block
languagebash
linenumberstrue
1 + 1The number of sub-tasks is: {{{count(subtasks())}}}


This example returns :the number of sub-tasks of the current issue, e.g.

The number of sub-tasks is: 22.0


Code Block
languagebash
linenumberstrue
round(0.75)Tomorrow is {{{dateToString({system.currentDateTime} + 1 * {DAY}, LOCAL, SERVER_LANG)}}}.


This example returns : tomorrow's date, e.g.

Tomorrow is 24/May/20.1.0


Code Block
languagebash
linenumberstrue
addDays({issue.duedateWhile it's %{system.currentDateTime} now, it'll be {{{dateTimeToString({system.currentDateTime} + 1 * {DAY}, 2LOCAL, LOCAL)SERVER_LANG)}}} in 24 hours.


This examples illustrates the parallel usage of field codes (the current date and time) and parser functions (tomorrow's date and time), e.g.

While it's 29/Nov/20 8:33 AM now, it'll be 30/Nov/20 8:33 AM in 24 hours.


Code Block
languagebash
linenumberstrue
{{{capitalizeWordsFully(trim(%{issue.summary}))}}}


This returns a well-formatted summary by removing leading and trailing blanks as well as capitalizing each word (only the word's first letter is upper case and the remaining letters are lower case).This example adds 2 days to the issue's due date. 


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 fieldsCompose free text and optionally use field codes and JWT expression parser functions between three curly braces.
Supported elements
Output

Status
subtletrue
titletext