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 advanced text parsing mode is the commonly used mode in JWT.

It comes with defined syntax that allows you to write JWT expression parser functions to read and manipulate data from any issue in Jira.

The advanced text mode supports field codes as well as free text, written in quotation marks "".


Example expressions

Parser expressionDescription


Code Block
languagebash
linenumberstrue
"This is the issue summary:" + %{issue.summary}


This example might return:

This is the issue summary: JWT 3.0 wording update


Code Block
languagebash
linenumberstrue
"The issue currently has " + {issue.subtasks.count} + " subtasks"


This example might return:

The issue currently has 3 subtasks


Code Block
languagebash
linenumberstrue
 sum(fieldValue({issue.timeSpent}, subtasks()))


This example returns a number representing the total time spent in minutes in all sub-tasks of current issues.

To achieve this, the following functions are used:


UI Text Box
typetip

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


Icon

Short descriptionCompose complex expressions using field codes and JWT expression parser functions.
Supported elements
Output

Status
subtletrue
titletext

Page properties
hiddentrue
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
StatuscolourRedtitleflagged