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

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


The link to Ofbcore-entity is invalid.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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