Auto Close Issue After Specific Time

Hi,

I am trying to see if your plugin (which I am using for other stuff) will allow me to create an automation rule to automatically move an issue to closed/resolved or last transition in a workflow after a pre-configured amount of time.

Use Case: We have Issues sitting in Resolved state (closed is final step) that I want to have moved to Closed automatically after 7 days.

Can this be done?

Jonathan

1 answer

0 vote
Andreas Knecht Community Champion Jun 29, 2017

Hi Jonathan,

Yes you should be able to set this up with the help of our 'Scheduled' trigger.

The rule would look something like this:

  • Scheduled to run once per day with JQL: status = Resolved and updated < -7d
  • Transition issue action to move those issues to 'Closed'

The way this works is that the trigger will try to find all issues once per day that are currently 'Resolved' and haven't been updated for longer than 7days. Only the ones matching this search are then moved to closed.

Hope this helps!

Cheers,
  Andreas

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

364 views 0 6
Read article

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