Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,269
Community Members
 
Community Events
165
Community Groups

How do I map a field in a csv file that contains a URL to the Attachments field

Edited

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

1 answer

1 vote

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.

Regards,
Earl

This does not answer the question though....

I have the same issue - following all directions, however the "attachments' field is not available for mapping - so it is left at Do not Map this field.... what are we missing??

Hi,

I am facing the exact same issue, can you let me know the resolution if you have found any? What Jira field should the attachment field in csv be mapped to?

Hello. I'm having the same issue. Any answer from Atlassian ?

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.

For example

Old

18/Mar/22 11:39 AM;admin;instructions.pdf;http://ub2:8080/secure/attachment/10100/instructions.pdf

New

18/Mar/22 11:39 AM;admin;instructions.pdf;http://admin:password123@ub2:8080/secure/attachment/10100/instructions.pdf

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 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...

14,535 views 37 45
Read article

Community Events

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

Events near you