I want to find and cancel the scheduled email notifications in Jira. I have created a Jira automation rule to check if a task is overdue and send an email to the assigned resource. The JQL provides the correct Jira issues to be sent out via email. However, the emails are being scheduled to be sent out even when conditions in Jira are changed, and they should no longer pass the JQL query. I have now disabled this rule, but I am still receiving notifications for those Jira issues that were scheduled to be sent out earlier. How can I find the scheduled email notifications and cancel them in Jira?
Here is my automation rule and audit detail where a jira issue was selected but it shows scheduled to send email. Please help.
Hi @Vani Chukkaluru -- Welcome to the Atlassian Community!
If I understand your question, you are describing two symptoms:
Regarding the first symptom, if you run the JQL used in the scheduled trigger stand-alone in an issue search does it return any issues unexpectedly? If so, the JQL does not work as you planned; please review it to adjust accordingly. If the JQL returns no issues...
These symptoms seem to indicate another rule may be sending the emails.
Regarding the second symptom I recommend working with your Jira site admin to review the global, automation audit log to learn if another rule could be sending these notifications.
Kind regards,
Bill
Hello @Bill Sheboy , Thank you for your response. I already checked running the query stand-alone, I don't see any unexpected results. From what I understand, JQL finds correct issues and passes to next action which is send email, where instead of sending email at the time of execution, somehow this is scheduled to send out emails later and that too daily. Now these scheduled emails are coming out even after task is moved to different states and out of scope from JQL standpoint. And I have no other rule that is sending email notifications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not see a date/time stamp in the audit log you are showing. Are you stating that the email is sent long after the rule has run?
And, your rule's scheduled trigger is daily only. This means it will run once per day, at the time when the rule was published, and not at a specific time of day. If you need the rule to run at a specific time, please use the advanced options with a CRON expression.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and I think as the emails are scheduled to be sent out instead of running immediately when JQL ran, now these scheduled emails are completely detached from the automation rule and will keep sending out emails..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes @Bill Sheboy , Emails are sending out regardless of rule now. You can see I have disabled the rule since 11/19 but still getting emails everyday. Rule Itself was scheduled to run every day when it was enabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again I recommend asking your Jira site admin to check the global automation audit log to look for any recurring, scheduled rules.
If this rule is not sending them, and it is a non-standard email, I suspect a rule is sending them from another scope / project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill for your time and suggestions. I will contact our Jira site admin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.