Import Attachement using CSV

HaRsHaS_ V July 7, 2020

I am in a testing stage of importing issues via CS file in Jira. Attachement import is the section I need help on.

I understand that we have two ways of importing them--using web url of file name and one is keep it in the server home dir.

the attachment is the document folder of my windows system, Is it possible to import it by getting the web url. 

Please advice.

1 answer

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 9, 2020

Copy the directory to the <jira_install_directory>\atlassian-jira\images directory. This will let you use Jira's Tomcat as your webserver.  You can then point to each image with something like this: http://127.0.0.1:8080/images/your-attachment-directory/JRA/JRA-123/image.png

Will October 14, 2020

Hi Dave,

I did the same on my end but I'm getting an exception during the import:

An exception occurred dealing with attachment ...
java.io.IOException: Error downloading attachment for autoid-1089030653713107259 from ... Error: HTTP status code: 403
at com.atlassian.jira.plugins.importer.imports.HttpDownloader.getAttachmentFromUrl(HttpDownloader.java:89)

In case you have any hint to share.

Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 14, 2020

http error 403 is likely a permission issue. Make sure the attachments all have permission to be read by the user that http server is running as.

Hossam.Khalil November 27, 2023

Hallo everyone, if anyone has managed to solve this, please let me know.

Setup:

We have an admin account for the backend and another for the front end, but tried to do the import with the frontend admin account, and i got the aforementioned error.

I even treid to create an admin account on the front end for the backend admin user, and carry out an import with that, however it also did not work.

P.S

we do not have AD Authentication.

Maybe that's why the Account rights are not working.

Many thanks for your support.

BR

Hossam

Suggest an answer

Log in or Sign up to answer