The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Import project from JIRA v4.3.3 to JIRA v5.2.8

Denys Kovalenko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 7, 2013

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.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2013

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:
    1. 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.
    2. Import the backup file into a test JIRA instance. (This will completely overwrite the test instance.)
    3. 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:
    1. 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!

Denys Kovalenko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 8, 2013

Awesome,

I will be able to test this solution tomorrow.

I will keep you updated.

Thanks you Matheus,

-Denys.