an automation rule question - how to NOT send an email ONLY when 0 issues are found with the JQL

Milan Mainassy March 25, 2021

Hi!

As the title suggests I have made an automation rule that triggers when a sprint starts in a specific board (0. Volledig backlog J&M). This board is a collection of a few different boards.

This specific rule (see image) is triggered to send a mail, with a list of the issues from a specific project (in this case the DCH project). However, when the JQL finds 0 issues it still send an e-mail. Is it possible to send an email ONLY when there are issues found by the JQL?

TY!

Jira.png

1 answer

1 accepted

3 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2021

Hi @Milan Mainassy 

Add an "Advanced compare condition" in between.

{{lookupIssues.size}} > 0

I hope it helps.

Ravi

Milan Mainassy March 25, 2021

Hi Ravi,

Where exactly should I put that condition?

Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2021

Before sending the email.

Milan Mainassy March 26, 2021

Thank you, works like a charm!

Like Ravi Sagar _Sparxsys_ likes this
Jose Laureano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2024

Worked perfectly. Thanks!!

Suggest an answer

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

Atlassian Community Events