Auto Close Issue After Specific Time

Jonathan Franconi June 29, 2017

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

1 vote
andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 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
TAGS
AUG Leaders

Atlassian Community Events