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 Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

460 views 8 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot