JIRA - Migrating from Server to Cloud

Bryan Trummer Community Champion Oct 02, 2017

I am moving from our current situation of JIRA server to JIRA Cloud. Is there an easy way to migrate the data over or is this all a manual effort?

2 answers

1 accepted

This widget could not be displayed.
Bryan Trummer Community Champion Oct 02, 2017

Although importing from the JIRA Server backup file works fine, there is no process to import Avatars, Logos, and Attachments.  This essentially makes moving to the cloud almost impossible as the task to manually attach all of the files to issues would take forever given the amount of issues and attachments a company would have after several years of experience using Server.

The linked document is also outdated as the Cloud version of JIRA does not contain a link for "JIRA Import".  The options under Import and Export header are: Backup manager, External System Import, and Restore system.

I used Restore system which only allows importing a JIRA Server backup file created using JIRA Server Backup manager.

Any suggestions on how to get the at least the attachments imported into JIRA Cloud from my JIRA Server and linked back up to the issues correctly?  Avatars and Logos I can live without.

I'm trying a modify JIRA Server backup zip file with the following structure.

|---activeobjects.xml
|---entities.xml
|---data
       |---attachments
       |---avatars
|---logos

We'll see if this works.

Any luck in getting this modification to work?

Hi Tony.  Yes, I was able to successfully get this to work.  The mistake I was running into was inside the root of the zip file, a folder named archive was present.  The tree above is all that needs to be in the zip file so you'll need to make sure the contents is setup correctly.  Of course, this was a while ago and Atlassian frequently changes things on the fly so it may be different.

The biggest challenge I had wasn't restoring JIRA data but restoring  Add On data.  We use Zehpyr and although it migrates the test cases, it does not migrate any of the test steps.  I had to build my own tools to do the migration.  I used NetSuite as my processing engine and stood up a Node.js server on Heroku as my authentication server with a single API which generated the JWT for each test step URL, of which, we had tens of thousands.  Without doing this, Zephyr became useless and this whole process took me about 4 weeks due to the fact none of the JWT generation processes Zephyr had documented worked.  I was able to get on with one of their engineers and he helped me create the code I needed in javascript to run on my node server.  I thought about packaging it and selling it but wasn't sure if there was any interest for something like that.  I would have to move all the code I had running in NetSuite off to another node server or something or even the same node server.

The way this processed worked, is to run a Map/Reduce process out of NetSuite which connected to the Jira Server, grabbed all of the test steps to be migrated and built a data collection.  I then mapped all of the steps to the test case and then using the reduce phase, I was able to generate a URL for the JIRA Cloud test step and build the authentication with a quick call to my node server then execute the Zephyr API using the url and JWT generated, rinse and repeat for every test case with the collection of steps.

Hi Kevin, thanks for the reply, that sounds like a lot of work but happy to hear it worked well for you.

Cheers

This widget could not be displayed.

How old was your JIRA Server version?  We are on 6.1.3 and thinking of migrating over to the hosted cloud solution.  Would we need to upgrade our version prior? 

Atlassian advises you to upgrade to the latest version of Server prior to your migration.  You'll have failures in your migration if you are not on the latest version of Jira Server.  If you have both Confluence and Jira, upgrade Jira first then Confluence second.  If you go the opposite route, you'll deal with a ton of user and group related issues.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

85 views 0 1
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