Field code
%{issue.lastComment}
Field code
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

TEXT

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