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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

70 views 0 5
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