How to import JIRA backup to the same instance?

Seif Eddine Mouelhi July 1, 2019

Hi,

I was given the task to migrate jira projects from next-gen to one single classic project. The reason is simply because we needed to control the release versions, and categorize the work by components. 

Once we have done the migration, we noticed that the comments were not migrated, thus we have lost some valuable information. 

While trying to restore the backup, it fails telling me that "entities.xml is not available", but it's in the zip file.

 

Your help is much appreciated.

 

Thanks,

1 answer

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 1, 2019

Can you show us what the structure of the zip file is? It sounds as though the xml might not be at the root of the zip folder.

Seif Eddine Mouelhi July 1, 2019

Hi,

the folder structure is as following:

Jira-export:

--activeobject.xml

--data

--entities.xml

 

I checked the permissions on entities, and it's rwxr-xr-x.

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 1, 2019

When you unzip it, is jira-export a folder you go into to find the other 3?

If so, zip up activeobjects, data, and entities.xml directly.

zip -r backup.zip activeobjects.xml data/ entities.xml would be the linux command.

Seif Eddine Mouelhi July 1, 2019

Perfect, I had to zip it directly rather than using the file it self!

Suggest an answer

Log in or Sign up to answer