How to Implement a Jira Migration (a 2023 step-by-step guide)

adminUncategorized

Jira migration

The following article contains everything you need to know about the best practices and dangers of a Jira migration. At the end of this article, I have also included a step-by-step guide on how to actually implement the migration.

I have come to understand migrations are virtually inevitable.

Your business and organizational structure will evolve over time. This might be due to changing technical environments, the merging, and splitting of teams, or even the sale of the entire company via an acquisition.

Whatever the reason, at some point you will have to migrate the Jira instance you’re working in.

In this article, we’ll provide tips on the best approach for a secure Jira migration and a step-by-step guide on how to achieve this. If you’re also interested in learning about different deployment models and what to do before, during, and after the Jira migration, you can check out this thorough guide.

A side note: We want to be as clear as possible on how to migrate Jira to a new server. That is why this article can get a little technical towards the end. So the end of the article might be most useful for your administrator. However, if you’re just using Jira as a user, (but not as an admin) this article will still be valuable. If you’re the Jira admin, great! Otherwise, I’d recommend you share this with your admin as well. He (or she) will definitely thank you for it!

Now, let’s get into the nitty-gritty of the challenge that is: implementing a clean Jira migration.

Types of Jira Migrations

There are several types of Jira migrations, each of which come with its own pros and cons.

1. The Big Bang Approach of Migrating Jira

If you follow a Big Bang approach, it means you’ll be migrating Jira to a new server in one go.

You will achieve the migration in a single step.

Going forward, all access to your old system is redirected. So there can be no confusion as to where updates should be logged.

Because of these factors, a Big Bang migration can look superficially attractive.

However, it will mean downtime for users and several other major drawbacks that we’ll discuss in a minute. So keep reading…

2. A Project-By-Project Approach to Migrate Jira

This approach means migrating projects, as required.

This is typically done when a project has been maintained on one Jira instance but then needs to be moved to another.

This might be due to reasons relating to infrastructure, security, or practicality.

When the migration is launched, access to the project is stopped and all data (including configuration information) is sent over to the new instance in one go.

Users can then be informed that the project is available on the new instance.

This approach can be used to gradually migrate a complete configuration to a new environment. And while it is a more measured approach, it nevertheless comes with many of the same problems as a Big Bang migration…

3. An Issue-by-Issue Approach or a Live Jira Migration

Following this approach, issues are migrated from one instance to another as required.

So issues are simultaneously available on both platforms.

Team members can then work on either platform and gradually switch over from one to the other.

This is considered by many the most flexible and foolproof approach, by some margin.

The Dangers of Migrating Jira

A Big Bang migration sounds simple, but it can come with some major issues.

These include:

1. Losing Valuable Time when Preparing for the Migration Process

time to migrate Jira

A great deal of preparation is needed to ensure that the new system meets all operational requirements from the users and teams who depend on the system.

You can not underestimate this!

In many cases, people need to dedicate significant amounts of time to confirming that the new system is fully customized to their needs.

And, all too often, they’ll still miss crucial details.

2. Missing Crucial Details when Migrating Jira to a New Server

During the transition period, you will have to factor in downtime during which neither Jira instance is operational.

Downtime during Jira migration

You will likely want to schedule this for a low-traffic period, such as a weekend, with an advance announcement of the planned downtime.

However, if the migration fails, then everything needs to be rescheduled and repeated.

Trust me, that’s not fun!

You will have to follow up with further testing with repairs to the migration process. You’ll then need to do this again and again until you get it right.

This is the kind of big-bang migration that you really don’t want.

3. Losing Crucial Data after Jira has been Migrated

When the moment of truth arrives, and staff begins really using the new environment, then no rollback is possible.

At this point, you’ll conclusively find out whether you’ve done enough preparation.

If one team finds a blocking issue, while other teams are happily using the new system, then the administrator hits a wall.

Crucial data when Jira has been migrated

The dissatisfied staff will have to either wait for the functionality to be built or for a workaround to be devised for their issue.

But failing that, they’ll have to make do without it.

As with the real Big Bang, you can’t do a re-run…

Why we Prefer a Live Migration for Jira

2 words: Less friction.

When migrating Jira to a new server, running a Live Migration removes nearly all of the problems and friction that you might face.

With a Big Bang migration, some degree of dissatisfaction is almost inevitable.

Staff wants their environment to continue to work as they know it. And introducing significant changes will always have an impact on operations, however big or small.

That might make your staff cringe. A little bit like this:

Avoid staff problems by doing a live Jira migration

Given limits to speccing and testing, there is a very good chance that at least some features and functionality will be missing, altered, or broken.

What’s worse, this will often only be revealed once your users pick things up on the other side of a Big Bang migration.

Our view is that bringing about change in an organization is best done by making incremental improvements to the environment without causing disruption.

A Live Migration achieves just this, allowing for projects and issues to be gradually transferred from one system to another. This makes the process simple and painless.

Staff can then choose to work in either system, as they want. Which makes everybody happy again:

Jira 2 jira has been migrated safely.

Synchronization of data (using tools like Exalate) ensures that users will find what they need, as they need it, on both platforms.

Small changes can then be applied to the new system to make it just perfect.

All the while your staff can keep using both systems in their day-to-day operations.

If something doesn’t work to their needs, then they can continue to use the original system while the configuration is adapted to the new environment.

Once the new configuration is perfected, the whole team can make the switch. Only when the staff is completely satisfied the old configuration can be dismissed.

By building this flexibility into the transition, the migration is ultimately made far easier and far safer.

How to Implement a Jira to Jira Live Migration

At this point, you know about the types of migrations and the dangers they come along with.

Now it’s time to show you exactly how to migrate your Jira safely to a new server (or cloud).

A heads up, this part is a bit technical. So if you’re not a Jira administrator, be warned.

For reasons, we explained above, we will be doing a live migration.

In this case, we’ll be taking an example of migrating Jira to another Jira. We’ll be migrating all agile information within the projects. This includes sprints, epics, and all issue data including issue key, change history, issue links, sub-tasks, typical issue custom fields, etc…

In order to implement the live migration, we use Exalate.

Exalate is an add-on for Jira that allows you to easily synchronize issue data in real time.

You can trial Exalate for free for 30 days. That should be more than enough time to complete the migration.

Note: For now, try not to do a huge migration (10.000 issues, for instance) at once, as this can bring your production Jira instances down. 

So let’s get to it!

Step 1: Install the Exalate Migration Tool

First, you’ll have to download Exalate.

To do this, head over to the Exalate page on the Atlassian Marketplace.

Once there, click “Try it free”.

exalate on Atlassian marketplace

Then choose if you would like to install it for Jira Server or Jira Cloud.

After this, go ahead and complete the installation on your Jira instance.

If you’ll need more details on setting up Exalate, you can have a look at the following documentation page for Jira Server or the following documentation page for Jira Cloud.

Step 2: Install the Exalate Synchronization Tool on the other Instance

In order to implement the migration, you will need to have Exalate installed on both the initiating instance as well as the destination instance.

So repeat step 1 for your other instance as well.

Note that if more than 2 instances will be involved in the migration, just set up Exalate for any of the other instances as well.

Step 3: Connect the Jira Instances

Now we’ll configure a connection between the instances using Exalate

Exalate connects instances based on invitations. This means you’ll have to initiate your connection on one side after which you will receive an invitation code on the other side.

Don’t worry, this is easier than it sounds. I’ll walk you through it.

Navigate to “Connections in the left pane and click “Initiate connection” (this is also clarified on the Exalate documentation here).

Jira administratiob

After that, you’ll have to select your “Connection type”.

Jira add-ons connection type

Note: We’ll assume the destination instance is accessible from this side. But Exalate also provides options for migration projects in one instance and migrating to an instance that is not directly accessible from this Jira.

Click “Next”.

Now you’ll be asked to share the URL of the destination instance.

Add the URL and click “Next”.

jira add-ons connection details

After that, select the “basic” project configuration.

This will let you migrate all basic issue data like summary, description, type, assignee, reporter, comments, attachments, and labels.

If your migration would require more advanced configuration, we’ll edit that later.

Jira add-ons sync rules template

Now you will have to add a “Connection name”.

This will just be used for you to identify this connection-configuration in the future.

The same name will apply on both sides of the migration.

Jira add-ons name

Alright, well done!

Now a script will be generated to accept the invitation on the destination instance. Once that is accepted on the other side, you will be able to start the live migration of the Jira issues.

So copy the script to your clipboard and move on to the other instance (or send it over to whoever has access to the new instance).

jira add-ons: access to the new instance

Once there, click “Accept invitation” in the Connections tab.

Jira add-ons invitation

Paste the invitation code you just generated.

jira add-ons invitation code

It will be automatically validated.

Click “Next” to proceed.

And choose the “Basic” project synchronization again.

Jira add-ons sync rules template

Select the project name again where you’d like to migrate the issues to.

jira add-ons sync rules details

Awesome, now the 2 instances are connected!

Step 4: Create the Project in the New Instance

You’ll need to make sure there is a project the issues can migrate to.

If you’re migrating to a completely new instance, I’d recommend creating a Jira project with the exact same name as the project you’d like to migrate.

Step 5: Configure the Connection for Migration

After the connection is set, you’ll still need to do some minor configuration to the synchronization rules. This way we’ll make sure the connection is correct for your specific migration use case.

To access the configuration, head over to “Connections” (from the left menu).

Once there, click on “…” next to the connection you would like to configure and click “Edit”.

After that, go to “Sync rules”.

This is where you should end up:

Jira Edit connection Allcontent

Now this part might be a little tricky, so stay with me.

Here you will have access to the scripts of:

  1. Datafilter (Outgoing migration)
  2. Create processor (Incoming sync for new issues you would like to migrate)
  3. Change processor ( Incoming sync for existing issues you would like to change)

You will have to copy/paste new scripts into each one of these.

The scripts will differ based on if you’re migrating from cloud to server, from server to server or to cloud, and so on.

You will find them for both your initiating instance as well as your destination instance. You can find out more here.

Step 6: Create the Migration Trigger

Now we’ll need to create a “Trigger”.

This will be super easy.

The “Trigger” will determine when issues will be migrated/synchronized to the other side. As well as choose when not to migrate issues. Of course, the second choice is completely optional.

To create the trigger, navigate to “Triggers” in the left side pane.

Here you’ll want to choose to sync certain projects. Just add that project to the trigger like so:

Jira create trigger

Again, in this example, I decided to call the project “scrumdemo”, but yours will have a different name.

Tip: You can select issues manually that you want to sync, by adding a label in the trigger. For example, choose to not migrate issues with the label “nosync” or empty labels. This is the line that should add the example above: “and (labels != nosync or labels is empty)”.

That makes the final Trigger: “project = scrumdemo and (labels != nosync or labels is empty)”.

After that select the connection-name you’ve made. In the example above I created a connection called “red-blue”.

If you’re satisfied with the trigger-rules, click “Create”.

Step 7: Start Migrating the Jira Issues

After you’ve managed to successfully create the trigger, you’ll be able to start migrating issues.

To achieve this, click on the “…” button in the Action column next to the correct trigger.

There you’ll be able to select “Bulk Exalate”.

Jira trigger bulk exalate

That’s it!

Now the issues in the project you’ve selected will be automatically synchronized to the other side.

You can check the “Sync queue” to see if any errors are occurring. Everything should be in order. But if you are receiving error notifications, just talk to support through their live chat on the right.

Step 8: Transfer the Whole Team by Providing Training

After the migration has been completed, it’s possible your team will require some time to adjust to the new system.

In order to streamline the efficiency of using the system, I’d recommend dedicating some resources to training staff.

This will save you valuable time, human errors, and all-round confusion in the end.

Step 9: Stop Migrating Issues

When all of your data has been transferred and teams are familiar with the new system, you can stop the synchronization.

To stop migrating new issues, navigate to “Support Tools” in the left side-pane.

Then select the connection used for migrating Jira end and click “Remove”.

jira add-ons support tools

Step 10: Dismiss the Old System

Is everything running smoothly now? Is staff getting adjusted to the new Jira?

If so, it’s time to pull the plug on the old system!

Congratulations, you’ve completed a smooth transition from your staff to your new environment.

Hope it was a smooth ride. Kudos!

Conclusion

Performing a migration from one system to another is never easy.

Fundamentally, though, the challenges in the transition are not just about technology. It’s about the people using it and the way they work.

That’s why it’s crucial to ensure the new configuration completely meets their needs.

The problem here is that getting user feedback is always difficult. Users will rarely have enough time to explain their requirements in the necessary detail or validate new software to the degree that is required.

Because of this, a Big Bang migration may well be followed by a ‘WTF’ moment. This usually only happens when staff has to put the new instance to use.

And at this point, you might be left without having the option to roll things back.

The gradual transition made possible by a Live Migration, on the other hand, allows for an iterative and controlled evolution of the environment. That’s why we recommended this approach by some way for most use cases.

 

How about you? Did you find this article useful? Did you have any “cringy” migration stories people could learn from? Share your thoughts in the comments below!

Recommended Reads: