On this page
Use case
Add a comment to the issues in a certain status whose status has not been updated in 7 days.
Configuration
Create a new rule and name it appropriately.
Providing a description will help you to identify what the rule does but this step is optional.
Scheduled trigger
Add a Trigger → Scheduled and choose who you want to execute this rule in Run as*
Schedule
Choose Daily
Interval
Set to Once per day at 1 00 am
JQL selector
Add Selector → JQL selector
JQL Query
Use the following expression:
project = CASE and status = "Wating for Customer"
This JQL query will retrieve the issues of the CASE project and in Waiting for Customer status.
Do not forget to change the key of the project and the status in your own automation rule.
Boolean condition
Add Condition → Boolean condition
Expression
Use the following expression
datePart(lastFieldChangeTime(%{selector.issue.status}), LOCAL) = addDays(datePart({system.currentDateTime}, LOCAL), -7 , LOCAL)
Add comment action
Next to JQL Selector click on Add → Action → Add Comment
Comment's text
Hello %{selector.issue.reporter}, We have not received an answer in 7 days. The issue will close itself automatically tomorrow. Best regards, %{system.currentUser.displayName}
Enable the rule by clicking on the Enable button →
Related use cases
STAFF PICK STAFF PICKUse case JWT feature Workflow function Parser functions Label Add comment after seven days in the same status Copy the parent issue comments to its sub-tasks Notify assignees when components are merged Notify the project lead on priority changes Re-assign issues and leave a comment Remind users to close inactive issues Update assignee and reporter to facilitate user deletion
If you still have questions, feel free to refer to our support team.