Alert for Contract Already Expired
⚠️ Let me know immediately if any contract has already passed its Target End Date.
💡 Use Case
Sometimes contracts expire without being renewed or closed. This rule sends an alert when a contract’s Target End Date is already in the past, and the issue is still open.
🛠️ How to Set Up the Automation Rule
Step 1: Open Automation Settings
Go to your Jira project → Project Settings → Automation
Click Create Rule
Step 2: Add the Trigger
Choose Scheduled as the trigger.
Set it to run daily (or even more frequently if needed).
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
issuetype = Contract Issue Type AND "Target end" < now() 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.
That are still open
Step 4: Add an Action – Send Email
Add the “Send Email” action.
Please populate the email content with the following example, or you may customize it to suit your specific requirements.
To: Assignee, Reporter, or Admin email.
Email Subject:
Alert: Contract {{issue.key}} – "{{issue.summary}}" has expired
Email Body:
Hi {{issue.assignee.displayName}},
The contract {{issue.key}} – "{{issue.summary}}" has expired on {{issue.Target end}}, but is still open.
Please take immediate action — review, renew, or close the contract as appropriate.
🔗 View issue in Jira: {{issue.url}}
— Jira Automation
Step 5: Save and Enable
Name your rule: Contract Expired Alert
Click Publish Rule and verify it is enable.