Migrating JIRA by using JIRA XML Export

We are currently using a JIRA solution with a hosting provider and are unable to get them to give us a backup of our JIRA installation. We don't have administrative access to either, so access to your backup feature is out of the question. To work around this problem we have decided to export all ISSUES using the XML Export feature available in the Search section of JIRA. We maped all the data in the XML file with the proper categories/database fields available in the database. I've spent a good part of 2 weeks getting everything ready and have litterally reversed-engineered the XML Export file. If we do this, what kind of problems will we encounter? Is it even possible to do?

1 answer

1 accepted

0 vote

It is possible, but it sounds like a heck of a lot of work.

I'd be very disappointed in your hosting provider if they weren't willing to provide either a proper xml backup file or (better) a copy of the database. (I could be quite rude here and ask who they are, just so I can avoid them. I would never want to use a provider who wouldn't give me at least a raw database dump of my own data)

Anyway, despite your mapping of all the fields, I still think you might struggle. Your XML is only the issues, so you still need to create all the project and configuration data structures in which to import them into. I'm not sure an XML -> SQL process is really going to work here. I'd be strongly tempted to try transforming the XML into either a jelly script or a set of REST commands, firing that into a development Jira install and then exporting it all (actually, I'd recommend an intermediate dev install of Jira if you do it with SQL - if the dev copy works, you know you've got decent data!)

Thank you for your input. Maybe I'm being to rough on the hosting provider. They will provide us with a backup, but at an extreemly exagerated price. Totalling $10,000+ for two or three of them.

I already created a dev install of JIRA and will attempt to populate the database with the proper configuration data. If after all that the process fails, I will attempt your second option by using REST commands. I will keep you posted on the progress.

Wow, that's a lot of money for "here's a copy of last night's backup of data you own"... Oh well. :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

200 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you