Unable to import an attachment in JIRA cloud using CSV

Dnyaneshwar Borase May 29, 2023

Hi Team,

We are trying to import few issues with an attachments in JIRA cloud using external CSV But unbale to import an attachments.

We know we need to update info related to Attachment in CSV file.

I am using below format but getting an error

14/Feb/19 3:53 PM;image.png;https://dnyaneshwar.borase%40tcs.com:ATATT3xFfGF04h5p0tHW3tggNhCythlC9943GI8wRRP5ZBQKuglTrJI1RUWnMbyHnDX9t4-mf7slkyY58N7gj5Kfsdk1nuQ1W5wTcs1mMpLy6cs4FNp1h57wUvO4O45Z3mERI6C1XRGC6bM3yPTAJN7h-aXwqa21cJMLNIWtJk9bBT9h9DQE8p4=00BD84EE@https://dbjiratraining.atlassian.net/secure/attachment/10000/image.png

Can you help us which format we need to use in attachment column in CSV?

Error:

An exception occurred dealing with attachment '14/Feb/19 3:53 PM;image.png;https://dnyaneshwar.borase%40tcs.com:ATATT3xFfGF04h5p0tHW3tggNhCythlC9943GI8wRRP5ZBQKuglTrJI1RUWnMbyHnDX9t4-mf7slkyY58N7gj5Kfsdk1nuQ1W5wTcs1mMpLy6cs4FNp1h57wUvO4O45Z3mERI6C1XRGC6bM3yPTAJN7h-aXwqa21cJMLNIWtJk9bBT9h9DQE8p4=00BD84EE@https://dbjiratraining.atlassian.net/secure/attachment/10000/image.png'

 

Please guide us how to import an attachments in JIRA cloud using external CSV

 

Regards,

Dnyaneshwar Borase

 

 

3 answers

1 accepted

1 vote
Answer accepted
Dnyaneshwar Borase May 29, 2023

Hi Sachin,

Thanks for your support.

I have placed an attachment on download folder and providing that path in csv attachment column like below format but didnt get sucess.

05/29/2023 19:10;63b6be98159df2c252e95f01;image.png;D://Downloads/image-name.png

 

Got below error:

Cannot parse '05/29/2023 19:10;63b6be98159df2c252e95f01;image.png;D://Downloads/image-name.png' as attachment info: No protocols found in token '05/29/2023 19:10;63b6be98159df2c252e95f01;image.png;D://Downloads/image-name.png'. Supported protocols are: https, http and file.

 

Could you please let me know whatever path I have mentioned is correct or not. If not then please let me know what will be the correct path need to be used?

 

Regards,

Dnyaneshwar Borase

0 votes
Maximiliano Javier Julio March 13, 2024

Hi,

Did you find a solution? Can you share it with the community?

 

Regards

0 votes
Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 29, 2023

@Dnyaneshwar Borase ,

 

To import the attachment you need to place the physical file on a location from where your cloud instance can access it.

 

"01/01/2012 13:10;<Atlassian account ID>;image.png;file://image-name.png" - its on directory

Note that URLs for attachments support the HTTP and HTTPS protocols and can be located anywhere that your Jira Cloud site can access.

If you aren’t sure of your Atlassian account ID, you can log in to your Jira Could site, click on your avatar on the top-right corner of the page, and go to Profile. The last part of the URL of the Profile page is your Atlassian account ID.

For eg:https://<yoursitename>.atlassian.net/jira/people/<Your Atlassian account ID>

Accept the answer if it helps

Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2023

@Dnyaneshwar Borase ,

 

It look like jira cloud is not able to access the attachment which is store on your local machine. you need to make sure the path should be in given format https, http, file

I believe if you are placing file in your local machine then need to give url in file format.

and it should be accessible from jira cloud ,make sure there are no restriction like firewall and all

Like Dnyaneshwar Borase likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events