Forums

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

Jira Automation - Over due email nofication - is scheduled to send instead of sending immediately.

Vani Chukkaluru December 11, 2023

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. 

Capture1.PNGCapture2.PNGCapture3.PNG

1 answer

0 votes
Bill Sheboy
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.
December 11, 2023

Hi @Vani Chukkaluru -- Welcome to the Atlassian Community!

If I understand your question, you are describing two symptoms:

  1. Issues are matching the JQL in scheduled trigger even though they should not
  2. After the automation rule is disabled, the notification emails are still sent

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

Vani Chukkaluru December 11, 2023

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. 

Bill Sheboy
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.
December 11, 2023

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.

Vani Chukkaluru December 11, 2023

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..

Vani Chukkaluru December 11, 2023

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.Capture4.PNG

Bill Sheboy
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.
December 11, 2023

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.

Vani Chukkaluru December 12, 2023

Thanks Bill for your time and suggestions. I will contact our Jira site admin.

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events