Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Conditional in automation lookup issue

Edited

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

01.png

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.

02.png

I hope for your collaboration, thank you very much!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events