We have a service management project that receives a lot of emails, often with large attachments. It is using up more storage space than all our other service management projects combined. We have a standard plan so our storage is limited and it is going to be an issue down the road.
Generally the issues in this project don't need to be kept for more than 30 days. How can I use automation to automatically delete issues in this project older than a few months?
I strongly recommend against deleting issues. Once they are closed they should be nice and quiet and should not require any maintenance and you will have them there in the future should you need to go back and review.
Whatever approach you choose for automatically purging old information from Jira and JSM Cloud, I suggest you investigate, build out, and test a backup/restore capability first. That will provide some protection against errors in your purge process.
For more information, please look here: https://confluence.atlassian.com/jirakb/how-to-automate-backups-for-jira-cloud-applications-779160659.html
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deleting an issue using automation rule is possible but if you just want to save storage space then why not delete the attachments instead. At least you will not lose your issue.
I made a video exactly to cover this use case.
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aaron,
You can set up a scheduled automation rule to run a JQL search with "created < startofDay(-30)" and delete the issue. This will check every issue every day at a specified time and delete any issue that was created over 30 days ago. You can replace the 30 with however many days you want.
Regards,
Arthur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Arthur Bershadskiy Where exactly do I find automations for alerts? I have a similar requirement to delete alerts in dev environments older than 24H, but I cannot see where to do this from using automations. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Emil Varona Sorry I'm not sure what you mean by alerts in this case. Are these JIRA notifications, comments, or something else?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Arthur Bershadskiy Sorry, I was following the thread and referring to OpsGenie. I need to find a way to delete outdated alerts as our dev environment generates many that aren't critical but important to the dev team in the short term.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah sorry, I'm not familiar with OpsGenie so I'm not sure I could help out with that. Might be worth starting a new thread on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.