Jira expression
issue?.comments[0]?.author?.accountId
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 author of the first comment of the issue, if comments are available. |
|---|---|
|
Output data type |
text |
|
Example output |
557068:145e0983-5707-439c-80e4-1160dd57g114 |