Hello,
During importing project we have an error:
"
There was a problem parsing the backup XML file at /path/to/jira/backup/Project.xml: XML document structures must start and end within the same entity.
"
Does it means that we have conflict of versions?
Thanks,
-Denys.
Yes. To import the project you'd first need to import the full backup into a test instance in the same version as the target instance. Then, export a new backup from the test and try to import that. See our Restoring a Project from Backup docs:
Project Import Restrictions
The Project Import tool will only import a project between identical instances of JIRA. That is;
- The version of JIRA in which your backup was created must be identical to the version of your target JIRA instance, e.g. if your backup file was created in JIRA 4.0, then your target instance of JIRA must be version 4.0.
- If your instance of JIRA had any custom field plugins (e.g. JIRA Toolkit) installed when the backup file was created and the custom field was used in your project, then your target instance of JIRA must have the same version of the plugins installed for the Project Import tool to automatically work.
If any of these restrictions apply and you still wish to restore your project from backup, you will need to create a compatible backup file before importing your project by following the appropriate instructions below.
JIRA versions do not match
- If your backup file was created in an earlier version of JIRA than your target instance of JIRA:
- Set up a test JIRA instance, which is the same version as your target instance of JIRA. Make sure that the test JIRA instance uses a separate database and index from your target JIRA instance.
- Import the backup file into a test JIRA instance. (This will completely overwrite the test instance.)
- Create a new backup file from your test JIRA instance. You can now use this backup to import a specific project into your target production instance.
- If your backup file is from a later version of JIRA than your target instance of JIRA:
- Upgrade the version of your target instance of JIRA to match the version of JIRA in which the backup was created.
I hope this helps!
Awesome,
I will be able to test this solution tomorrow.
I will keep you updated.
Thanks you Matheus,
-Denys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.