On this page
Use case
Send an email for every issue that will be due in a week to the corresponding assignees.
Configuration
Create a new rule and name it appropriately.
Providing a description will help you to identify the purpose of the rule.
Scheduled event
Add a Trigger → Scheduled
Schedule
Choose Daily
Interval
Choose once per day at 1:00 am
JQL selector
Add a Selector → JQL Selector
Select the target issues for the automation rule with a JQL query like the following one.
project = CASE
Boolean condition
Add a Condition → Boolean Condition
Expression
Use the following parser expression:
datePart({selector.issue.dueDate}, LOCAL) - datePart({system.currentDateTime}, LOCAL) = 7 * {DAY}
Send email action
Next to the JQL selector click on Add → Action → Send email
From
Select Default
To
Select the field Assignee in Users from field
Message
Enter a subject for your email and write the body of the email.
Hello %{selector.issue.assignee.displayName}, This is a reminder that the issue %{selector.issue.key} will be due in a week. Best regards, Your Jira Administrator
Enable the rule by clicking on the Enable button →
Screencast
No screencast available at the moment.
Import the example
Import the JSON file below to get started in no time.
If you still have questions, feel free to refer to our support team.