Hello, I need help with the following automation to filter comments made by the user "Jira Automation".
Trigger: Schedule
Action: Lookup issues
Action: Send email
I need to add a conditional in the following code so that the comments made by the user "Jira Automation" are not considered, what would the code be and where should I insert it?
Lookup issues code:
{{#lookupIssues}}
<li><a href="{{toUrl}}">{{key}} - {{summary}}</a>
{{assignee.displayName}}
{{comments.last.body}}
{{comments.updated.convertToTimeZone("America/Argentina/Buenos_Aires").shortDateTime}}
</li>
{{/}}
This is what the email sent by the automation looks like, the comments marked in red are the ones I need to avoid, because the author of them is "Jira Automation" and what I need is to only consider the comments made by clients and/or agents.
I hope for your collaboration, thank you very much!