Jira expression field code

issue?.comments[0]?.id

Example output10991
Output data type

Type

Available since
issue?.comments[0]?.id

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 ID of the first comment of the issue
Output data type

Example output10991