Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migrated attachments come throught but receive error message when opening attachment

Rodney Tanner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 16, 2018

I am migrating JIRA tickets from one instance to a different instance.  I exported all of the data from the initial instance, and imported it into the new instance.

 

On the JIRA tickets in the new instance, the attachments appear to be present, but when I open an attachment, I receive an error message “Ouch! We Can’t Load The Image”

1 answer

0 votes
davy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2018

Hi Ronny,

How where the attachments and tickets migrated ?

If you did a CSV import to migrate the tickets, you also need to use CSV to import the attachments.
(copying the attachments directly from the file system to the other instance will not work)

Importing attachments
You can attach files to issues created from your CSV file. To do this, specify the URL of your attachment in an 'Attachments' column within your CSV file.

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"

URLs for attachments support the HTTP and HTTPS protocols and can be any location that your JIRA server must be able to access. You can also use the FILE protocol to access files in the import/attachments subdirectory of your JIRA home directory.

The full documentation to import tickets and attachments using CSV can be found at
- https://confluence.atlassian.com/jseng/importing-data-from-csv-881686748.html

Best Regards,

Suggest an answer

Log in or Sign up to answer