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 votes
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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,302 views 0 8
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