Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding attachments from Jira Server to Jira Cloud

Nicholas Koch December 13, 2018

I copied the Attachments folder from our jira server environment and ran it through the "Import Attachments" button on the Jira Cloud. The attachments are not showing up. Can you point me in the direction to get our attachments uploaded? The attachment zip is about 2GB

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2018

Hello,

Do you mean that you uploaded first the Jira Server backup and then you want to import attachments?

I usually upload attachments together with the Jira server backup. You can put the data/attachments folder inside the Jira Server backup zip file.

Nicholas Koch December 13, 2018

Thanks for getting back to me.

Yes. That is how I initially did it. OK I will try that next. 

Nicholas Koch December 13, 2018

I got this when trying to upload the zip :

  • The import archive doesn't contain entities.xml file.

I see this file in the zip.

Nicholas Koch December 13, 2018

My laptop did log off in the middle so I am trying it again. 

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2018

Make sure that if you unzip your archive, there are entities.xml, activeobjects.xml and data folder in the root. Not inside a folder with the same name as the archive.

Nicholas Koch December 13, 2018

Import error

There was an error importing file Jira1282018.zip: Failed to upzip uploaded file. Following issues were reported:

  • Unable create file from a buffer. Failure: Failure{cause=null, reason=BAD_STATUS, message='{"error":{"code":"InvalidStateError","title":"Conflict: provided offset 0 must be equal to current number of chunks","href":"https://api-internal.media.atlassian.com#InvalidStateError"}}', httpStatusCode=409}
Nicholas Koch December 13, 2018

My zip file is just a little north of 2 GB. 

 

I do have the those files in the root with the Data folder. Inside the Data folder, is the Attachments folder.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2018

Ok. I guess it could be something on Atlassian side. I uploaded much larger files.

Nicholas Koch December 13, 2018

Good to know it isn't the file size. I did have "Data" instead of "data"...  don't think that would be an issue but I have seen it before.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2018
Nicholas Koch December 14, 2018

Thanks Alexey! I finally got it uploaded! I removed some project attachments that were no longer being used to shrink the zip file and it worked. I imported it the way you mentioned at the beginning so thank you for pointing me in the right direction.

Suggest an answer

Log in or Sign up to answer