I am attempting to import an JIRA backup file from an on-site instance to the cloud. It fails everytime with "There was an error parsing the entities.xml file: An invalid XML character (Unicode: 0xc) was found in the CDATA section.".
I have tried using the atlassian-xml-cleaner-0.1 java tool but when I use it I receive a ".zip doesn't contain any valid import data." error.
Can anyone help?
That's only slightly rude. I did unzip the zip file and executed the jar on the entities.xml and saved it to entities-clean.xml. Then I moved the old entities.xml to another file for safe keeping and renamed entities-clean.xml to entities.xml.
I also added the data folder with attachments and avatars then zipped it back up (which adding the data folder to the zip solved the .zip doesn't contain any valid import data error). The problem is not with me being unable to read and follow directions the problem is I followed the directions carefully and it still did not work.
If fact, i was finally able to get JIRA cloud to accept the zip file but I still have a problem. It did not actually populate the cloud with the existing projects.
The error message you got is what you get if you did not follow the instructions in the documentation. Hence the pointer to re-read it properly. It wasn't meant to be rude, it just looked like you hadn't read it, and there's a lot of people here who read the first sentence of something and expect that to fix things without bothering to read or understand the rest of it (which is annoying because someone has taken time to give a full answer, or write a decent doc on the process )
You've now explained clearly that you have done everything right.
The next thing I would test is that you can take that fixed import file and import it on a temporary installation of the same version it came from.
I was facing the same issue today. The cause of the error
"the zip doesn't contain any valid import data" might be that you were zipping the file with the wrong tool.
I was trying this on my mac, and zipping the folder with Finder created this error. When I created the zip file via command line, the import worked correctly.
Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk! We’d love to hear your thoughts on the pros and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs