Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

stuck on lookupissues is greater than 0

jeff_trotman April 2, 2025

Hello All,

So, i want to run an automation scheduled for everyday, which will lookup issues in the current sprint which are not done, if there are any to then send an email notification.

But, so far I cannot understand why what i have is not working

Screenshot 2025-04-02 at 14.31.55.pngScreenshot 2025-04-02 at 14.37.46.png

Now, the only reason dueDate <= 10d is for testing and it returns 15 results when i validate the query.

So, i'd expect {{lookupissues.size}} to be greater than 0, so it would then trigger the send email.

 

What am i missing?

Thanks,

Jeff

2 answers

1 accepted

4 votes
Answer accepted
Mikael Sandberg
Community Champion
April 2, 2025

Hi @jeff_trotman,

You have to use {{lookupIssues.size}}. The capitalization of Issues should make the automation work for you. 

0 votes
Valerie Knapp
Community Champion
April 2, 2025

Hi @jeff_trotman , thanks for your post.

When you say this rule isn't working, what do you see in the audit log? Is the rule not being triggered? or is the email not being sent?

For another post about this type of automation, we suggested to the OP to add a log action here after the IF / ELSE condition so you can see in the audit log, ah, ok, we met the condition for an email to be sent, or, we didn't, which helped to understand exactly where we needed to troubleshoot in the rule.

image.png

Please can you try this and let us know if it helps you?

Cheers

jeff_trotman April 2, 2025

Thanks Valerie, your suggestion was helpful to me, as I never realised you could do that, but as Mikael said above the i needed to be capitalised

Like Valerie Knapp likes this

Suggest an answer

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

Atlassian Community Events