Importing attachments into JIRA Cloud applications using CSV files
This Knowledge Base article is written specifically for the Atlassian Cloud platform. Due to Functional differences in Atlassian Cloud, it is not applicable to Atlassian Server products.
Using the basic CSV import process, JIRA Cloud applications display a similar error message to the following when trying to import attachments:
An exception occurred dealing with "<attachment.url>"
The file contains references to attachments that are hosted on an instance that is not publicly accessible.
As the files are not publicly accessible, the JIRA Cloud application is unable to retrieve them.
To resolve this issue, you can either fix the CSV file, or import the attachments separately.
Fix the CSV file
In the CSV file, specify the URL of each attachment in the attachments column.
For example, in this file, the attachment is stored in https://jira-server:8080:
Assignee, Summary, Description, Attachment, Comment Admin, "Issue demonstrating the CSV attachment import", "Please check the attached image below.", "https://jira-server:8080/secure/attachment/image-name.png", "01/01/2012 10:10;Admin; This comment works" Admin, "CSV attachment import with timestamp,author and filename", "Please check the attached image below.", "01/01/2012 13:10;Admin;image.png;file://image-name.png", "01/01/2012 10:10;Admin; This comment works"
Note that URLs for attachments support the HTTP and HTTPS protocols and can be located anywhere that your Jira Cloud site can access.
- Import the CSV using the steps in Importing data from CSV.