Attachment Checker for Jira
Breadcrumbs

Checklist for Jira Project Admins to housekeep attachments

For very large or heavily used Jira instances, the disk space consumption tends to grow very fast with numerous updates.
One approach is to keep on increasing the disk space.
For sustainable usage, there are 3 possible strategies available

  1. Prevention of unnecessary files through file type checking and file size limits

  2. Enforcement of disk usage quota on a project

  3. Housekeeping of files that are no longer required

Regular attachment housekeeping helps to:

  • Reduce storage cost by reducing the volume of stored attachments

  • Improve performance with faster load time

  • Improve usability by removing redundant or irrelevant attachments

  • Enhance security by removing outdated or sensitive attachments

  • Reduce scheduled downtime for backups and recovery


Check if project is using excessive disk space

What to check

Check the statistics in Project’s Space Quota and determine if the attachment count to issue count ratio and average attachment size is reasonable.

Examples:

  • Users uploading multiple copies of the same files

  • Users using Jira issues to share very large files

  • Users uploading very large log files instead of attaching the zip files

What can you do

Review the attachments in the project especially the top 10 large files and uncommon file extensions

If the disk usage is justified, you can apply for increase the disk space quota.

Identify issues with unnecessary attachments

What to check

Find resolved issues with attachments that haven’t been updated in last x years (e.g. 2):

project = <project> AND resolution is not EMPTY AND 
attachments is not EMPTY AND updated < startOfYear(-2)

You can use Issue Archiver & Attachment Housekeeper to automate the housekeeping in a safe and performant manner.

What can you do

Review the attachments and delete them if no longer needed.


Useful Resources