Forums

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

Jira Automation - Automatically send an email 24 hours in advance based on a date field.

Anthony Morais August 8, 2022

I have a custom field of type Date Time Picker, called Maintenance Date. This field is nothing more than the date of a scheduled maintenance. I wanted to create an automation so that a reminder email is sent to a team 24 hours before the date selected in the custom field.

1 answer

1 accepted

2 votes
Answer accepted
Manon Soubies-Camy
Community Champion
August 8, 2022

Hi @Anthony Morais and welcome to Community!

The easiest way to achieve this is to trigger an automation rule everyday and to check which issues are planned until the following day.

  • Using the Scheduled trigger:

reminder-trigger.png

The JQL query returns all issues having Maintenance date between now and the next day at 23:59:

"Maintenance date" >= now() AND "Maintenance date" <= endOfDay(1)

You could also use the following query if you have a fixed 24h window:

"Maintenance date" >= now() AND "Maintenance date" <= 24h
  • Then the email (or Slack, or Teams, or even just a Jira comment) action:

reminder-action.png

Hope this helps,

- Manon

Ashly Montaño August 8, 2022

Wow really thank you very much!
I needed this information 

Anthony Morais August 8, 2022

@Manon Soubies-Camy Thanks for the quick response.
I already tested it and it worked, thank you very much.

Like • Manon Soubies-Camy likes this
Manon Soubies-Camy
Community Champion
August 8, 2022

Glad it helped :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, jira service management, devops, ship quality code, atlassian webinar, continuous delivery, integrated workflows, change management, developer productivity, agile teams, atlassian community events, ace, atlassian learning

Ship quality code faster with Jira Service Management ✨

In the wake of growing customer expectations, development teams are facing more pressure to deliver innovations faster. Register for this 45-minute webinar to learn how devs can accelerate software delivery and time-to-market with Jira Service Management.

Register now 🚀
AUG Leaders

Atlassian Community Events