Hello,
We are wanting to create a variable in our Automation rule that returns the body of the last comment made in the Issue, by the initiator of the rule.
The following returns the last comment in the issue where the automation is executed. However, the author of the last comment could be from any Jira user. We are looking for the last comment from a specific Jira user.
{{issue.comments.last.body}}
Desired outcome in pseudocode
{{issue.comments[where author.displayName = initiator.displayName].last.body}}
Thanks for your input