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?
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?
When using scheduled trigger, you need to specify JQL inside the Scheduled trigger form.
Remove your if block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.