Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page properties
hiddentrue
id0
JWT field code

%{issue.lastComment}

Jira expression field codeissue.comments != [] ? issue.comments[issue.comments.length-1].body.plainText : null
Example outputTake your Jira to the next level by using JWT for Jira Cloud
Type

Status
subtletrue
colourRed
titleread-only

Available since
Tabs Container
directionhorizontal
Tabs Page
titleJWT expression
Code Block
titleField code
linenumberstrue
%{issue.lastComment}
Tabs Page
titleJira expression
Code Block
titleField code
linenumberstrue
issue.comments!= [] ? issue.comments[issue.comments.length-1].body.plainText:null
UI Text Box
typenote

Comments are stored in lists. Documentation on how to work with lists can be found here.

You can access the whole comment by issue.comments[0] which returns an object.

Read


Page properties
id1
Returned valueThe last comment entered in the issue
Output data type

Status
subtletrue
titletext

Example outputTake your Jira to the next level by using JWT for Jira Cloud