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

Available since
%{issue.lastComment}
issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : null

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 objectissue.comments will return a list of objects.

Read


Returned valueThe last comment entered in the issue
Output data type

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