Local images import in jira cloud

We are not able to export the images via csv in Jira cloud using files// extension to import local images it showing the below error

Attachment file not found or not readable, skipping: /data/jirastudio/jira/home/import/attachments/off.png

pls help :) 

1 answer

1 accepted

0 votes
Answer accepted
Shaun S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 02, 2018

There are 2 options you have for importing attachments into your Cloud instance. 

 

1. CSV import. In order to import attachments using a CSV, a publicly accessible URL that links to the attachment must be used in lieu of a file path.  Using the  "file://" option will result in the error you mentioned. This is a result of changes to the Cloud infrastructure. 

 

2. Rest API.  You can import the issues from CSV without the attachment column, then upload the attachments in bulk using the steps outlined in this knowledge base https://confluence.atlassian.com/jirakb/bulk-import-attachments-to-jira-issues-via-rest-api-729750741.html

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 02, 2018

Hi @Shaun S,

1. what if i don't have url for the files? is there another option?

2. look like it works only for Jira Sever, any other solution for Jira Cloud?

Like Harit Prasad likes this
Matt Doar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 03, 2018

If the URL for each attachment is available publicly with no authentication it should work. Otherwise the REST API will work, but all the author values are set to the user who logged in

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 03, 2018

Hi,

The attachments URL are not available publicly, so i have left only with the REST API.

However, it's the first time i did't understand how to use REST API, couldn't feagure out how to make it work with attachments.

I remind you i'm on Jira Cloud and not server. :)

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 04, 2018

testing @mention here to see if it throws error - @Nir Haimov

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 04, 2018

@Jacktest too

The API option above is for Server not Cloud, fyi.  Not that there are not options available to script a solution for Cloud, but that particular KB does not include them.  (thought I would call this out for the next schmuck who thought they had finally found a solution!)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events