Forums

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

Automation rule that sends email daily is not working

Elizabeth February 21, 2024

Hi, I recently created an automation rule to send an email to assignee/reporter daily if an issue has not been updated in the past 7 days.

This is the JQL that I used: project = AFOO AND component in ("Vital - Development") AND type in (Story, Bug) AND issuetype != Epic AND status not in (Ready, Completed) AND labels in ("Drafting", "ReadyForSAReview", "ReadyForPOReview", "ReadyForGrooming", "ReadyForEstimate") AND (Sprint is EMPTY OR Sprint in futureSprints()) AND labels not in (tech-debt, DevOps) AND updated < -7d ORDER BY Rank ASC

I clicked run rule and I created this rule 3 days ago. However, I have not received any emails since, even though I am supposed to get an email daily, and there are issues that exist that have not been updated in the past 7 days, does anyone know how I can solve this problem?

Attached is also the picture flow of the automation rule.Screenshot 2024-02-22 132933.png

1 answer

0 votes
John Funk
Community Champion
February 21, 2024

Hi Elizabeth - Welcome to the Atlassian Community!

So if you click the Run rule now does it not run? What is the result in the Audit log? 

 

Elizabeth February 25, 2024

Hi John, thanks for the reply :)

I have checked the audit log, the status says success. However, I did not receive any emails. I am not sure if this is because I am testing the rule in the dev environment of Jira?

John Funk
Community Champion
February 25, 2024

Can you post a screenshot of the details of the Audit Log where it runs with success? 

Also, do those email addresses get other emails from Atlassian/Jira?

Oh, and since it is a dev instance, make sure that email sending is turned on globally!

Elizabeth February 25, 2024

Screenshot 2024-02-26 124007.png

Sure, here is the screenshot. Yes, the email addresses do get other emails from Atlassian/Jira main server, when eg. an issue is updated etc. However, I am trying to run the automation rule in the dev server first to check that it is working well, before executing it in the main server. 

John Funk
Community Champion
February 25, 2024

No, I mean click on the Show more for the success and capture that.  :-)

 

Elizabeth February 25, 2024

Screenshot 2024-02-26 124909.png

John Funk
Community Champion
February 25, 2024

Okay, that doesn't make sense. So you went to that same page and clicked on Show More and that's what you got? 

Maybe click the Refresh icon there in the audit log list (top right) and then click on the show more. 

Elizabeth February 25, 2024

Yep, I have refreshed and click on show more, and I am still seeing the same screen. Could this be due to company permissions?

John Funk
Community Champion
February 25, 2024

It shouldn't be. Does it do that on all of the Show more links? Have you tried more than one? 

Elizabeth February 25, 2024

Yes, I have tried 5 others, and they are all showing the same screen.

Elizabeth February 25, 2024

Can I check, how do you turn on global email sending?

John Funk
Community Champion
February 25, 2024

Go Settings > System > Outgoing Mail (under the Mail heading). 

Make sure that is enabled. 

Elizabeth February 25, 2024

Would this be the same for Enterprise Jira? And not Jira cloud etc.

John Funk
Community Champion
February 25, 2024

For Data Center, yes, but not sure on Server. Could you not find it? 

Elizabeth February 25, 2024

Yep, not able to find it.

John Funk
Community Champion
February 25, 2024

It's probably best to go ahead and open a support ticket with Atlassian. They can better get to the bottom of this since they have access to your environment. Please post back here with the resolution. 

https://support.atlassian.com/contact/#/

Good luck!

Suggest an answer

Log in or Sign up to answer