Migrating from Jira Cloud to Server

Still need help?

The Atlassian Community is here for you.

Ask the community

This page is about moving data from Jira Cloud to Jira Data Center. If you want to migrate from Jira Data Center to Jira Cloud, check out our migration resources.

Jira Cloud is typically ahead of Jira Data Center, which means that some features may not be available after you've moved to Jira Data Center.

If you want to move a project, not your entire site, see Restoring a project from backup.

Limitations

Jira Cloud applications are regularly updated with the latest features and improvements, which means they are a later version than the latest downloadable version of Jira applications. If you want to migrate from Jira Cloud applications to Jira Data Center applications, be aware of the following limitations.

Feature loss

Jira Cloud typically contains features that aren't yet released in the latest version of Jira Data Center.

Password reset

Your Jira Cloud users will need to reset their passwords before they can log in to the new Jira Data Center instance. 

Jira application licenses

Your Atlassian Cloud license can't be used in an instance installed from Jira Data Center applications. You'll need to generate a new Jira Data Center application license from https://my.atlassian.com.

You can reuse your licenses for apps in your instance installed from Jira Data Center applications. The licenses for Atlassian apps and Gliffy for Jira applications can be viewed on https://my.atlassian.com. For all other third-party apps, contact the third-party vendor for a license.

User avatars

Due to recent changes that took place in Cloud, User avatars now reside in id.atlassian.com. They're not included in the Cloud backup and, therefore, can't be migrated to Jira Data Center.

Migrating other Cloud applications

The instructions on this page only apply to Jira applications. If you're migrating other Cloud applications (e.g. Confluence Cloud to an instance installed from Confluence Data Center), see this page: Backing up and exporting data.

Note, if you're migrating Jira Cloud applications and other applications (e.g. Confluence Cloud) to an instance hosted on your own servers, you'll lose integration features that are native to Cloud. These can be re-enabled by configuring application links between your applications. See Link to other applications for instructions. Contact support if you need assistance.

Get more details of the differences between Jira Cloud and Jira Data Center

Migrating to Jira Data Center

1. Back up

Backup for server will be discontinued starting June 30, 2025. Instead, you can use the CSV file import wizard to export data from Cloud to Data Center. This tool supports data such as issue data, users, and project types.

Back up your Jira Cloud application data.

  1. Log in to Jira Cloud as an administrator.

  2. Create an XML backup. For more info, see Exporting issues from Cloud to Data Center. Note that the export process will strip your cloud application and plugin licenses out of the XML, so the licenses will remain available in your Jira Cloud site but not in your Data Center instance.

2. Download the latest version of installer

Download the installer for your operating system: Jira Software or Jira Service Management

3. Install Jira Data Center

Install your Jira applications. For detailed instructions, refer to Installing Jira applications.

Note that during the installation, you'll be asked if you have existing data. This is where you can import your XML backup, as described in the next step.

4. Import your data from Jira Cloud into Jira Data Center

To ensure that your data is migrated correctly, you need to set your server’s timezone or the Java Virtual Machine (JVM) timezone to Coordinated Universal Time (UTC). Learn how to set the timezone for the Java Environment

In step 2 of the setup wizard (Application properties), you'll be asked whether you have existing data. Select Import your existing data, and follow instructions to import your XML backup.

When importing, you might see a warning that you're importing data from an earlier Jira version. You can ignore it and continue with the import.

If your backup is 2GB or more, import the attachments separately

For large backups, we recommend that you import the attachments separately. To do this:

  1. Unzip the backup file.
    If you're using the unzip utility in Linux, before extracting the backup file, set the UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE environment variable to prevent errors resulting from attempting to extract large archives. Alternatively (or if you're using Windows), use the 7-zip utility.

  2. Compress the activeobjects.xml and the entities.xml files only.

  3. Import the compressed file in the setup wizard, as described above.

  4. Copy the contents of the attachments directory into the <home-directory>/data/attachments  directory for Jira Data Center.

After the migration

5. Change the admin password

  1. Log in to your new Jira application, using the following credentials: 

    • Username: sysadmin

    • Password: sysadmin

  2. Change the password immediately after logging in.

6. Check which apps you have in Cloud

Any app that you're currently using with the Jira Cloud application will need to be installed in your Jira application installation. For example, Gliffy, Tempo, etc.

In the upper-right corner of the screen, select Administration  > Manage apps.
 The 'Find apps' screen shows apps available via the Atlassian Marketplace. Select Manage apps to view the apps currently installed on your Jira applications. Select Manage apps and note the apps listed under the User-installed apps section. You'll need to note the app names and versions.

7. Install your app in Jira Data Center

For each app that you noted in the previous step, install it in your Jira applications. Make sure to install the latest version of the app. Atlassian doesn't provide support for data that is downgraded as a result of installing an older version of an app.

See Managing Apps for instructions on how to install an app. You'll need to manually add the app license keys.

8. Install the Cloud compatibility for Jira app or run scripts

After you migrate from Cloud to Data Center, it might happen that user mentions are shown as AccountID rather than username. This is a known GDPR-related issue. To fix it, you can either use the Cloud compatibility for Jira app or run update scripts in your database.

The app is a quicker solution however it is a temporary one because it only fixes the UI side of things and replaces accountIds from Jira Cloud with more user-friendly text in wiki markup fields. However, you can consider it if you want a quick fix and do not have time to test the scripts in your environment This app is compatible with Jira Data Center 8.0 and later.

  1. In your Jira Data Center instance, go to Jira administration, then Manage apps, then Find new apps.

  2. Search for Cloud Compatibility for Jira.

  3. Install the app. 

To permanently resolve the problem, run the update scripts in your database. Make sure that you run the scripts in your test environment first, and create a DB backup. 

PostgreSQL:

SELECT ('UPDATE jiraaction SET actionbody = replace(actionbody, ''accountid:' || cu.external_id || ''', ''' || cu.lower_user_name || ''') WHERE actionbody LIKE ''%[~accountid:' || cu.external_id || ']%'';') as "Queries to fix" FROM cwd_user cu WHERE cu.external_id IS NOT NULL; 

MySQL:

SELECT (CONCAT('UPDATE jiraaction SET actionbody = replace(actionbody, ''accountid:' , ifnull(cu.external_id, '') , ''', ''' , ifnull(cu.lower_user_name, '') , ''') WHERE actionbody LIKE ''%[~accountid:' , ifnull(cu.external_id, '') , ']%'';')) as "Queries to fix" FROM cwd_user cu WHERE cu.external_id IS NOT NULL; 

MS SQL:

SELECT (((((('UPDATE jiraschema.jiraaction SET actionbody =  CAST(REPLACE(CAST(actionbody as NVarchar(MAX)), ''accountid:' + cast(cu.external_id as varchar(max))) + ''', ''') + cast(cu.lower_user_name as varchar(max))) + ''') AS NText) WHERE actionbody LIKE ''%[[]~accountid:') + cast(cu.external_id as varchar(max))) + ']%'';') [Queries to fix] FROM jiraschema.cwd_user cu WHERE cu.external_id IS NOT NULL; 

9. Reset the passwords for your users

After you finish migrating from Jira Cloud to Jira Data Center, you must reset the passwords for your users. To do this, you can either:

Well done! You've migrated your Jira Cloud site into a Jira Data Center instance.

Known issues

During or after the migration from Jira Cloud to Jira Data Center, a few known issues might occur. They're mainly caused by the differences between the source codes of the two products. 

See more details of the issues in the following table.

IssueSolution

After migrating data from Jira Cloud to Jira Data Center, the time is displayed incorrectly.

Users may notice that the timestamps for issue creation, comments, and other activities do not match the expected local time.

This issue occurs when the data from Jira Cloud was imported in other time zone than Coordinated Universal Time (UTC).

To avoid this, before you import data in step 4, you need to do one of the following:

  • Set the server’s timezone argument to UTC.

  • Set the JVM timezone argument to UTC.

For instructions, refer to Set the timezone for the Java Environment.

Jira Data Center is set up to import data from Jira Cloud but there's no prompt whether you want to import data or not.


In case the Jira Data Center database already contains some data, you might not be prompted to import your data from the backup when starting Jira. You'll just see Jira's user interface.

You can proceed with restoring the database. Restoration of the database will overwrite the data in it. So, take this step only if you're sure that overwriting the data won't cause other issues.

After migrating from Jira Cloud, Jira Data Center might fail to import a project from the same server instance backup. In this case, you'll see the following notification: "The import was aborted because there were too many errors".

This is a known issue documented in this Knowledge Base article. The article describes the scenarios when the issue might occur and explains how to solve it. 
After migrating from Jira Cloud to Data Center, the user can't generate a new license for any Jira application (Jira Core, Jira Software, or Jira Service Management). 

This is a know issue tracked in the ticket JRASERVER-66787.

Feel free to leave comments on the ticket so we know your use cases better and understand how this issue is impacting your operations.

Last modified on Nov 17, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.