Forums

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

Automation

Merve Bilgin
Contributor
July 28, 2023

An issue with a Resolved status should automatically switch to Closed status after 3 days and an automatic comment should be added.

2 answers

1 accepted

2 votes
Answer accepted
John Funk
Community Champion
July 28, 2023

Hi Merve,

Create an automation rule with a Scheduled trigger and include the JQL for the trigger to identify the issues as you describe in your question. 

Then add an action for Transition Issue and select the transition to the Closed status. 

Finally, add an action for Comment on issue and add your comment. 

Create your rule and if you need some help after that, then post the rule here and we can provide feedback. 

Merve Bilgin
Contributor
July 28, 2023

Is it true ? 

Ekran Resmi 2023-07-28 15.05.23.png

Like John Funk likes this
John Funk
Community Champion
July 28, 2023

Click off the box for Only include issues that have changed. 

Also, you need to include the timeframe in your JQL. So add something like

AND (status changed to Closed after startOfDay(-3) OR status changed to Resolved after startOfDay(-3))

Like Merve Bilgin likes this
Merve Bilgin
Contributor
July 28, 2023

thank you so much

Like John Funk likes this
John Funk
Community Champion
July 28, 2023

You are very welcome.

Like Merve Bilgin likes this
0 votes
Dan Breyen
Community Champion
July 28, 2023

Hi Merve, there is an Automation Template already built in the system that's going to get you real close.  Look for the 'Templates' tab, then at the bottom click 'See more templates in our automation library'.  That should open a new browser tab displaying the 'Jira automation template library'.  Scroll down to 'Jira Service Management automations' and click 'see templates'  scroll down in that window and the top one in the second column should say 'Auto-close old Jira support tickets'

(Or use this link :) Auto Close Automation 

You should be able to enable that automation to get what you're looking for.  You can change the wording of the comment if you want.

Hope that helps.

Merve Bilgin
Contributor
July 28, 2023

thank you

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events