I am trying to import data from one project to another project in Jira using the CSV migration method but attachments are missing while importing. Attachments are skipping and data got imported.
Please find the error screenshot attached to this ticket.
Hello @prashant_hiremath ,
When importing attachments via CSV the attachment source need to be directly accessible by the system importing the image, meaning there cannot be a login prompt or permission check occuring as a redirect to the images location, even when the attachment lives on the same system.
There is a note about this on the Following KB for importing attachments where you either have to make the attachments publicly accessible by making the source Jira instance anonymously assessable or by applying a workaround noted in a linked KB to pass in credentials from the local instance:
Note that URLs for attachments support the HTTP and HTTPS protocols and can be located anywhere that your Jira Cloud site can access. the URL needs to be externally hosted so the source JIRA instance needs to be Anonymously accessible or on JIRA cloud you can pass in the log in credential as detailed in this KB "Importing attachments into JIRA Cloud using CSV External System Importer"
The noted Secondary KB details the option to pass the authentication details in the attachment URL to allow a direct link in the csv using the format:
https://user%40domain.com:<API-Token>@mysite.atlassian.net/secure/attachment/10000/image.png
Also a quick note on this the @ converts to %40 in a URL string so it is crucial to apply this as "user_name%40mysite" and not "username@mysite" as the unencoded @ character will not work.
Please check this out and let me know if this works for you.
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.