Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

Use case

Return the last comment of the current issue.

Expression

Create and configure a Smart field using this expression in General parsing mode:

JWT expression

Code Block
linenumberstrue
%{issue.lastComment}

UI Text Box
typeinfo

The text will be returned using wiki markup, e.g. bold text will be shown as *bold text*.

Jira expression

Code Block
linenumberstrue
issue?.comments[issue?.comments?

.

length-1]


Page properties
hiddentrue
Feature

Image RemovedImage Added

Field typeSmart text field
Built-in

Parsing modeGeneral
ExpressionJWT expression
Code Block
linenumberstrue
%{issue.lastComment}
Jira expression
Code Block
linenumberstrue
issue?.comments[issue?.comments?.length-1]
Label
Use case description

Return the last comment of the current issue.

Complexity

Status
colourGreen
titleBeginner