JIRA allows you to attach files to an issue.
On this page:
Attaching a File to an Issue
To attach files to an issue, you need the Create Attachments project permission in that issue's project.
To attach a file to a JIRA issue:
- Open the JIRA issue to which you wish to attach a file.
- From the 'More Actions' menu, select Attach File.
- The 'Attach Files' dialog box will appear:
jira-4_2-attach_files.png Click the Browse button to search for your files.
- (Optional) Enter a comment about the files(s) you are attaching.
If you enter a comment, then you can also set the security level for the comment by selecting the appropriate value from the padlock icon dropdown. The security level for the comment is 'All Users
' by default. - Click the Attach button. All selected files will be attached to the issue.
Viewing an Image Gallery
By default, JIRA displays image files (ie. GIFs, JPGs, PNGs) attached to an issue, including any screenshots, as 'thumbnails' on the issue.
Screenshot: Viewing attached image files on an issue
jira-4_2-image_gallery.png
If your 'JIRA administrator' has disabled 'Thumbnails' in JIRA's Attachment Settings, then JIRA will not display thumbnails of image files on an issue and instead, they will be part of the list of attached files.
You can click on an image's thumbnail to preview a larger version of it in a popup. If multiple images are attached to an issue, click the left and right arrows at the sides of an image preview to see previews of the adjacent attached images.
Screenshot: Previewing attached image files on an issue
jira-4_2-preview-image.png
Sorting Attachments
You can sort the list of attachments on JIRA issues in ascending or descending order according to the attachment file name or date of attachment to the issue.
To sort your list of attachments:
- Open a JIRA issue with attachments.
- Click the down-arrow icon to the right of the Attachments section and select the required sort criteria or order options provided in the list.
jira-4_2-sorting-attachments.png
Your final sort criteria and order options will also apply to image thumbnails and all subsequent issues viewed.
Accessing ZIP-format File Contents
When viewing an issue, JIRA allows you to browse and access the contents of any ZIP-format file (such as those with a '.zip
' or '.jar
' file name extension) attached to an issue.
To browse the contents of a zipped attachment and access its files:
- Open a JIRA issue with an attached zipped file.
- Click the right-arrow icon to the left of the zipped file's name.
jira-4_2-expand-zip-format-file.png - The contents of the zipped file are listed. From this expanded list, you can access the zipped file's individual files by clicking their linked names or you can download the whole zipped file in its entirety by clicking the Download Zip link.
jira-4_2-expanded-zip-file.png
If a file is located within a subdirectory of the zipped file, then the path to that file is indicated in the content of the zipped file. For example, the content of Files.zip listed in the screenshot above shows that File 5.txt is located within the Folder 1 subdirectory of Files.zip.
If your 'JIRA Administrator' has disabled 'ZIP support' in JIRA's Attachment Settings, then this feature will not be available and you must download the zip file to your computer before accessing its individual files.
Exporting All Attachments as a ZIP File
To download all the files attached to an issue (including any screenshots) as a single ZIP file:
- Open the JIRA issue from which you wish to export all attachments as a zip file.
- Click the down-arrow icon to the right of the Attachments section and select Download All from the dropdown menu.
jira-4_2-download-all.png
Removing a File Attachment from an Issue
To remove attachments from an an issue, you need either of the following the project permissions in that issue's project:
- 'Delete Own Attachments' — to delete files which you have added to the issue.
- 'Delete All Attachments' — to delete files which anyone has added to the issue.
To remove a file attachment from a JIRA issue:
- Open the JIRA issue from which you wish to remove a file.
- Click the down-arrow icon to the right of the 'Attachments' section and select Manage Attachments from the dropdown menu.
jira-4_2-manage-attachments-menu-option.png
The 'Manage Attachments' page will appear:
jira-4_2-manage-attachments-page.png
Note: "Only users with administrative privileges to remove an issue can remove attachments" indicates that any user with the appropriate 'Delete Issues' project permissions can remove all attachments of an issue they delete, even if they do not have the specific project permissions (above) to delete these attachments via the 'Manage Attachments' page. - Locate the file you wish to delete and click the Delete Attachment icon:
icon_delete.PNG