Forums

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

JSM automation to send email based on JQL query

trthomas
Contributor
April 25, 2025

I have an automation rule set up to run every morning at 9:00 AM.  It should be looking at a JQL query that I have set up and send out an email if there is a ticket created that matches the query.  

2025-04-25 08_09_03-Rule builder - Automation - Service Desk - Jira and 6 more pages - Work - Micros.png

 

It was working great, sending out an email a day before the date in the custom field I have set up.  But something has changed and now it sends out an email every day at 9:00 AM if the ticket is created that matches the query, not looking at the part of the query that specifies it must be 1 day before the custom date. 

Here is the query. 

2025-04-25 08_40_42-Rule builder - Automation - Service Desk - Jira and 7 more pages - Work - Micros.png

Project = SD AND "Reason for Request[Dropdown]" = "Workday problem or suggestion" AND "Planned Start" >= startOfDay(1)

 

I've tried adjusting the date portion of the query, but it doesn't seem to matter.  Do you have any thoughts on what is now wrong with the query and how I might be able to fix this?

 

1 answer

0 votes
Laurie Sciutti
Community Champion
April 25, 2025

Hi @trthomas ~ have you clicked the "Validate query" button to show the results?  That is usually a good first step to determine if the expected issues are included and may give you insight as to the problem...

trthomas
Contributor
April 25, 2025

Yes, I have validated my query and it is valid, returning 1 result (1 ticket found that matches the criteria).

 

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