Jira升级小插曲

Old Version: Professional Edition, Version: 3.0.3-#75
New Version: Professional Edition, Version: 3.12.3-#302

backup data to xml文件后,在新版本上Restore Data from xml,Error:
Failed to import data: Error in action: com.atlassian.jira.action.admin.DataImport@1ddcd5f, result: 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: The element type "body"

must be terminated by the matching end-tag "</body>".

发现这是jira旧版本的一个bug,找到fix pack,更新到服务器上,重新备份导出,恢复成功。

fixpack:
http://repository.atlassian.com/ofbcore/jars/ofbcore-entity-2.1.1-atlassian-06122004.jar

and copy to your 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.

你可能感兴趣的:(jira)