Documentation for JIRA 4.2. Documentation for other versions of JIRA is available too. 
![]()
When file attachments are enabled, your users will be allowed to attach files and screenshots to JIRA issues. This requires space on the server for storing the attachments.
Attachments are not stored in JIRA's database and so will need to be backed up separately.
File attachments are enabled by default. If you wish, you can configure the way JIRA handles attachments, or disable this feature altogether.
Note:
On this page:
Choosing a custom Attachment Path:
If you upgraded JIRA with an XML backup from a JIRA version prior to 4.2 and used a custom directory for your attachment path, you can choose between using this custom directory (which cannot be edited) or the default directory for your attachment path location. However, once you switch to using the default directory, you can no longer choose the custom directory option.
(The default directory location is the data/attachments subdirectory of the JIRA home directory.)
More information about thumbnails:
Images column.attachments directory, together with the original attachments. The thumbnail images are denoted by '_thumb_' in their file names.
Thumbnail image generation on Linux:
-Djava.awt.headless=true
You can implement additional tweaks (described below) to modify the way JIRA handles attachments. These tweaks cannot be modified through JIRA's attachment settings (above). Instead, they are implemented by editing specific properties in the jira-application.properties file.
By default, thumbnails are 200 pixels wide and 200 pixels high. To change the dimensions of thumbnail images:
jira-application.properties file, edit the values of the following properties:
jira.thumbnail.maxwidth — thumbnail width in pixelsjira.thumbnail.maxheight — thumbnail height in pixelsattachments directory (that is, those containing '_thumb_' in the filename).After restarting JIRA, all thumbnails will be recreated automatically using the new dimensions.
By default, JIRA shows a maximum of 30 attachments on an issue. To change this maximum value:
jira-application.properties file, edit the value of the jira.attachment.number.of.zip.entries property to the maximum number of attachments you want to show on an issue.By default, JIRA allows you to access common ZIP-format files, with file extensions like '.zip' and '.jar' (Java archive files). However, there are numerous other ZIP-format files to which JIRA does not permit access by default. You can permit access to these files by doing the following:
jira-application.properties file, remove the extensions from the jira.attachment.do.not.expand.as.zip.extensions.list property of the file types whose contents you wish to access in JIRA.