Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically delete resolved issues after a period of time?

John Pace January 22, 2020

I have created a simple board via Jira Service Desk consisting of the workflow of a product being manufactured. After my issue is resolved (in this case delivered), I'd want the issue to automatically delete itself (or remove itself from the board) after a desired period of time. How may I go about this?

 

Thank you. 

4 answers

4 accepted

1 vote
Answer accepted
Pete Singleton
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.
January 22, 2020

You certainly shouldn't delete Jira issues, but it is possible to exclude them from your board.

Depending on your Jira version., you should have the following setting in the Board Configuration: 

Capture.JPG

If not, then as mentioned in another answer you can exclude them using the filter query or sub-query.  However, I would suggest using the Resolution field rather than the Status, and the resolution date rather than the updated date.  E.g:

Project = XXX AND resolutiondate >= -14d
John Pace January 22, 2020

Thank you for feedback.

0 votes
Answer accepted
Zoryana Bohutska _SaaSJet_
Atlassian Partner
January 22, 2020

Hi @John Pace 

Also, you can set automatic closing of issues after some time period

automation_close_issue.png

Regards

John Pace January 22, 2020

Thank you for your feedback.

0 votes
Answer accepted
Jakob KN
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.
January 22, 2020

Hi John, 

Generally speaking, deleting issues aren't best practice, since they're pretty much "gone for good". 
I would suggest add a status called Archived or something similar.

In servicedesk under the admin section, you should be able to set up a SLA, starting when the issue is resolved. For example and SLA of 7 days if that's the time after resolution you want the issues to be archived.

You can then set up an automation, which triggers when the Archive SLA is breached and transitions the issue from Closed/Done to Archived. 

SLA documentation:
https://confluence.atlassian.com/servicedeskserver/setting-up-slas-939926373.html

Automation documentation:
https://confluence.atlassian.com/confeval/jira-service-desk-evaluator-resources/jira-service-desk-automation

Jakob KN
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.
January 22, 2020

As Lenin writes, you'll of course also have to configure your board/queues to only show issues which aren't archived/closed.

Like mira.prinz likes this
0 votes
Answer accepted
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2020

Hi @John Pace 

You can adjust the board's default filter to exclude issues that were resolved a week or ago.

One simple example:

NOT (updated < -7d AND status in ("Done", Closed))

John Pace January 22, 2020

Thank you very much for your feedback.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events