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,361,502
Community Members
 
Community Events
168
Community Groups

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

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 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 Dec 04, 2018

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

Nir Haimov Community Leader 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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

208 views 1 6
Read article

Atlassian Community Events