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?


4 answers

1 accepted

Also see escalation services in the script runner plugin.

Great suggession. We will consider this as well.

Thanks for sharing.

0 votes

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.


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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,903 views 19 22
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