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

0 vote

Also see escalation services in the script runner plugin.

Great suggession. We will consider this as well.

Thanks for sharing.

0 vote

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

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.

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
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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

785 views 2 19
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