Forums

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

how to break the active objects file based on individual projects

Hema TB June 15, 2020

Jira (data center) which is having 400 projects migrating to another data center which should have only 40 projects. i.e out of 400 projects we are migrating only 40 projects to another Jira(data center). the plan is taking XML backup of Jira which is having 400 projects and in the XML zip file, we thought of removing the 390 projects related content in the active objects file. How we can find out particular project-related content in the active objects so that we can remove the unwanted data and just migrate the 40 projects to the another Jira instance

2 answers

0 votes
Nic Brough -Adaptavist-
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 Leaders.
June 16, 2020

You could spend years trying to get this right, it's just as painful as trying to use a Jira database with SQL.  You will need to work out every relationship and cross reference it all in a flat file that does not have any form of relationship handling mechanism (so learning XSLT and XML parsing would be your first step, followed by understanding all the code for every plugin in Jira)

The best approach depends on what you're really trying to do here.

If the data-centre system is a new empty system, then your best option is to delete the projects you don't want from the old system (or a temporary copy of it) and then import an export of the resultant system.  You could also just import everything and delete later.

If this is actually a merge with the DC system, then your best option is to import one project at a time from the export, after manually creating the container project.  I'd strongly recommend a look at apps like Project Configurator and Configuration manager, as they can help you copy projects from one Jira to another, solving all the conflicts and taking the configuration as well.  (I work for one of the vendors of those two, but I'll still say you you check them all to see which may work best for you)

Hema TB June 16, 2020

@Nic Brough -Adaptavist- Thank you for the suggestions

0 votes
Nir Haimov
Community Champion
June 16, 2020

Hi @Hema TB 

i don't think touching the XML backup file is the right way.

I suggest you will open a support ticket to Atlassian.

Hema TB June 16, 2020

@Nir Haimov  Thank you, Yes I have raised a support ticket with Atlassian

Suggest an answer

Log in or Sign up to answer