Can we auto close bulk issues after a fixed period of resolution (any coding/scripting)?

We are trying to build a custom support process in JIRA and looking some guidance about how we can auto close bulk resolved state issues after a fixed period of time (like 48 hours).

Is that something possible via:

- JIRA Service desk?

- Script runner (custom coding)?

- or any other safe method?

Thanks,

4 answers

1 accepted

This widget could not be displayed.

Also see escalation services in the script runner plugin.

Great suggession. We will consider this as well.

Thanks for sharing.

This widget could not be displayed.

Atlassian use "Jelly" to do this on their support site - it's used to send out reminder emails when people haven't updated issues for a while, and then eventually close them if there's still no response. It's not diffcult to adjust it to close issues nd other stuff.

See https://confluence.atlassian.com/display/JIRA/Jelly+Escalation

This widget could not be displayed.

You can use JIRA Command Line Interface (CLI) and your favoriate job scheduler or Bamboo to run this once a day.

--action runFromIssueList --search "status=resolved and resolutiondate < -48h" --common "--action progressIssue --issue @issue@ --step \"Close Issue\" "

You may need to use ""Close Issue"" instead of \"Close Issue\" on some systems.

This widget could not be displayed.

Thanks Bob & Nic for the useful information. Both are the useful suggestions. We will work with our product owners team and implement the right approach (issues auto close) for our support archetype configuration.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

299 views 1 4
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