XML Backup / Restore of Jira from v4.4.4 to v5.1

I am trying to import an xml backup file created on our production jira instance to a test instance. Eventual aim is to upgrade server hardware and migrate OS platform from linux/mysql to windows/mssql.

When starting the restore we get to about 20% and then get the following error:

Error parsing export file. Your export file is invalid. This may be due to a CDATA bug in older versions of JIRA (http://jira.atlassian.com/browse/JRA-4980). Exception is org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

I have looked online and found this covered (including in the above reference) however this seems to supposedly been resolved after v3.2? I think? So really does it apply in our scenario?

The size of the xml is just over 500MB. I am not sure if upgrading through the restore is an issue either?

Any help will be greatly appreciated.


2 answers

This widget could not be displayed.

Hi Andrew,

Have you tried the workaround suggested?

Also, there is Jeff Tuner's comment saying to download Ofbcore-entity and, then copy to JIRA WEB-INF/lib/ directory (atlassian-jira/WEB-INF/lib/ in JIRA Standalone; webapp/WEB-INF/lib/ in JIRA WAR/Webapp). You must also delete the old WEB-INF/lib/ofbcore-entity-2.1.1.jar file, which this replaces.

After the steps above JIRA is still facing the same behavior, if so, would you mind to open up a ticket at Atlassian Support ?

I hope it helps


This widget could not be displayed.

The link to Ofbcore-entity is invalid.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

141 views 0 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you