It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

0 votes
Answer accepted

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))

Thank you very much for your feedback.

0 votes
Answer accepted

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

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

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

Thank you for feedback.

Hi @John Pace 

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

automation_close_issue.png

Regards

Thank you for your feedback.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you