Automation Rules

Amanda Sugatan
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!
January 27, 2025

My team and I are working on an automation rule to send an email based on date and status. The rule is scheduled to run every morning. The challenge is that a warning appears and we can't figure out how to alter the rule to run successfully. Any ideas? 2025-01-27_15-43-04.PNG2025-01-27_15-48-05.PNG

3 answers

3 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2025

Hello @Amanda Sugatan 

Welcome to the Atlassian community.

Do you have a JQL in your Scheduled trigger?

IF conditions are applied to issues that have already been selected or brought into context in a previous step of the rule. IF conditions are not used to select the issues.

So, you either need to have the JQL statement as part of the Scheduled trigger, or you have to use a Lookup Issues action to select the issues against which you want to operate.

If you put the JQL into the Scheduled trigger then you will get one email per issue retrieved. Is that what you want, or do you want one email with all the issues listed in it?

0 votes
Vishal Biyani
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.
January 27, 2025

@Amanda Sugatan 

When using scheduled trigger, you need to specify JQL inside the Scheduled trigger form.

Remove your if block.

0 votes
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2025

Hi @Amanda Sugatan , welcome to the Atlassian Community and thanks for your question. 

What happens in the condition when you click on "validate query"? It looks like the JQL isn't returning any issues. 

You can also include the JQL the schedule trigger. 

Please have a look at this example rule https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/9918920/207129059 

Please can you put the JQL into the issue search to see if you get some feedback about what the search engine doesn't like? 

Best wishes 

Suggest an answer

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

Atlassian Community Events