Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Auotmation Does Not send an e-mail

Brian Taylor
Contributor
March 4, 2025

I have an automation that I want to look up issues where the due date is within the next 60 days. 

  • Scheduled to run at 1:00 am 
  • Lookup "Renewal Date[Date]" <= 60d - when validate returns 2 issues 
  • I want to e-mail the results to a group of specific users. 

Nothing gets sent.  The audit logs state No Actions Performed.

 

Screenshot 2025-03-04 at 4.33.16 PM.png

 

2 answers

1 vote
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.
March 4, 2025

Hi @Brian Taylor 

If you try the JQL in the Lookup Issues standalone to test it with View All Issues, does it return any issues?

If so, in which project(s) are the issues?  If the issues are in multiple projects and the rule is a single-project scope rule it cannot "see" the issues.  The rule scope will need to be changed, and your Jira Site Admin will need to change the rule scope.

Kind regards,
Bill

Brian Taylor
Contributor
March 5, 2025

Bill, 

 

Thanks for the feedback.  It is for a single project.  I rewrote the automation this morning from scratch, and now it appears to be working. 

Thanks for the help. 

Screenshot 2025-03-05 at 9.27.40 AM.png

Like Bill Sheboy likes this
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.
March 5, 2025

Sometimes rules can get "glitched" due to many edit / publish cycles, breaking something behind the scenes in the JSON.  Often the ways to check that align with what you tried:

  • Disable the rule, wait 5 minutes, reenable it, and test.  When that does not help...
  • Disable the rule, recreate it from scratch, and test
0 votes
Pasam Venkateshwarrao
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.
March 4, 2025

Hi @Brian Taylor 

In the Automation rule you have used Wrong JQL,The correct JQL is

Screenshot 2025-03-05 at 12.52.22 PM.png

Pasam Venkateshwarrao
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.
March 5, 2025

@Brian Taylor is helped to solve your query still you are looking another solution

Brian Taylor
Contributor
March 5, 2025

Pasam - The change in the query did not change the outcome.  When I validate the query, I still get two issues with your query as I did with mine. 

Pasam Venkateshwarrao
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.
March 5, 2025

@Brian Taylor can you try with this Automation rule

Screenshot 2025-03-05 at 6.22.42 PM.png

Brian Taylor
Contributor
March 5, 2025

Pasam, I rewrote the automation this morning, which is similar to what you had, and for some reason, it is working now.  

 

Thanks for your help. 

Pasam Venkateshwarrao
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.
March 5, 2025

@Brian Taylor  if it helps to you can you hit accept answers so that others can reach

Suggest an answer

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

Atlassian Community Events