Close resolved issues after a certain time automatically

Dear Sir/Madam,

Does anyone know how to close a resolved issue automatically after a certain time?

It would come in handy for our JIRA project we're doing.

3 answers

1 accepted

This widget could not be displayed.

Try the SR Escalation Services, it works pretty well and setup is straightforward.

This widget could not be displayed.

Hard to be explicit as there are many ways to ski this cat.

You can write some external script (say in PHP) to to make a REST call  to pull the issues you want to close (you can write you own JQL query to be exactly as you want it) .. loop though the issues and make REST calls to close them.  At least i think you can transition an issue via REST.

If you have scriptrunner or are familiar with writing services, this could be done there (that is where I do it).  The concept is the same.

 

 

 

Also the automation addon is worth a shot. Jeff - you're right about REST, you can use it to push issues through transitions.

This widget could not be displayed.

Using JIRA Command Line Interface (CLI), you can use something like the following in your favorite job scheduler:

jira --action runFromIssueList --jql "status = resolved AND resolutiondate < -1w" --common "--action transitionIssue --issue @issue@ --transition \"Close Issue\" "

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

140 views 6 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you