How do I map a field in a csv file that contains a URL to the Attachments field in Jira Software when importing. The Attachments field does not appear to be available for mapping in Jira Software
Hello @Virginia Horrocks ,
When importing attachments using the CSV import method, the most important part to focus on is that the URL where the image is being hosted needs to be anonymously accessible, i.e. it cannot be behind an authentication prompt. And when hosting the attachments on a Jira Server this us usually the case.
So the options to open up the URL would be to either host the attachment in an alternate public location, or open up the Server for Anonymous access.
Some additional details on importing Attachments via CSV can be seen int his KB "Importing attachments into JIRA Cloud applications using CSV files" And the CSV import documentation "Importing data from CSV" under the section Importing attachments.
To map the attachments you'll have to use the import functionality from the External System Import screen (<baseurl>/secure/admin/ExternalImport1.jspa).
If you select Import issues from CSV from the Issues dropdown menu you'll have a limited version of the import screen fields such as attachments and comments cannot be linked from this screen.
To import attachments from a remote Jira you also have 2 options:
1. Make the project / issues from the remote Jira public.
2. Modify the CSV file to include credentials in the attachment URL.
18/Mar/22 11:39 AM;admin;instructions.pdf;http://ub2:8080/secure/attachment/10100/instructions.pdf
18/Mar/22 11:39 AM;admin;instructions.pdf;http://admin:password123@ub2:8080/secure/attachment/10100/instructions.pdf
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events