Jira expression
issue?.comments[0]?.body?.plainText
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, issue.comments will return a list of objects.
Read
|
Returned value |
The body of the comment |
|---|---|
|
Output data type |
text |
|
Example output |
Could someone review this issue? Thank you. |