/
Reminder for Contract Approaching Deadline

Reminder for Contract Approaching Deadline

✅ Send me an email when a contract is 7 days away from expiring.

💡 Use Case

You want to be notified in advance when a contract is approaching its Target End Date, so you have time to take action (renew, close, escalate, etc.).

🛠️ How to Set Up the Automation Rule

Step 1: Open Automation Settings

  • Go to your Jira project where contracts are managed.

    projSettings.png
  • Navigate to Project Settings → Automation

  • Click Create Rule

    auto.png

Step 2: Add the Trigger

  • Choose Scheduled as the trigger type.

    scheduled.png
  • Set it to run daily (e.g., every morning at 12 PM).

  • Specify the time at which the reminder will be dispatched.

  • Check ✅ “Run a JQL search and execute actions for each issue.”

Step 3: Enter JQL Condition

Use the following JQL to target contracts expiring in the next 7 days:

issuetype = Contract Issue Type AND "Target end" >= now() AND "Target end" <= startOfDay("+7d") AND status != Done

✔️ What this does:

In the JQL query, make sure to use the issue type you’ve set as Contract Issue Type in the Pact Configuration.

  • Whose Target End Date is between today and the next 7 days

  • That are not yet marked as done/closed

    jql.png

Step 4: Add an Action – Send Email

  • Add the “Send Email” action.

    action.png
email.png
  • Please populate the email content with the following example, or you may customize it to suit your specific requirements.

    To: Select sender options from Dropdown or a static address like contracts@company.com.

Email Subject:

Reminder: Contract {{issue.key}} – "{{issue.summary}}" is expiring on {{issue.Target end}}

Email Body:

Hi {{issue.assignee.displayName}}, This is a reminder that the contract {{issue.key}} – "{{issue.summary}}" is scheduled to end on {{issue.Target end}}. Please take the necessary action — renew, extend, or close the contract before the deadline. 🔗 View contract in Jira: {{issue.url}} — Jira Automation
mail.png

Step 5: Save and Enable

  • Name your rule: Contract Expiry Reminder – 7 Days

  • Click Publish Rule and verify it is enable.



    created.png
© Optimizory Technologies Private Limited