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

Gavad Khan (PS) July 2, 2014

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 votes
Answer accepted
JamieA
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.
July 8, 2014

Also see escalation services in the script runner plugin.

Gavad Khan (PS) July 8, 2014

Great suggession. We will consider this as well.

Thanks for sharing.

0 votes
Gavad Khan (PS) July 8, 2014

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.

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
July 2, 2014

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.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 2, 2014

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

Suggest an answer

Log in or Sign up to answer