Skip to main content

Migrate draw.io with the Confluence Cloud Migration Assistant

When you migrate from Confluence Data Center to Confluence Cloud, the pages get new page IDs. Embedded diagrams and links inside diagrams still hold the Data Center page IDs.

The draw.io app for Data Center can send the page IDs of the migrated pages to the draw.io app on your Cloud site. This is the draw.io app migration, and it runs as a part of your migration with Atlassian's Confluence Cloud Migration Assistant (CCMA). The draw.io app in Cloud then translates the Data Center page IDs whenever a diagram is shown or edited. You don't export and import Page IDs.

Note: Atlassian has not yet enabled the draw.io app migration for production migrations. Until it is enabled, CCMA migrates your pages and diagrams and skips the draw.io app migration. Load the page ID mappings yourself after the migration instead. For the Zero Egress app, follow the steps to migrate from Data Center to the Zero Egress app instead.

What you need​

  • draw.io for Confluence Data Center version 16.2.0 or later on Confluence 10, or version 14.4.0 or later on Confluence 9.
  • draw.io for Confluence Cloud version 7.11.0 or later, or the draw.io Zero Egress app version 6.11.0 or later, installed on your Cloud site.
  • Confluence administrator permissions on both instances.

Migrating from Gliffy: Complete the Gliffy mass import in your Data Center instance before you start.

Choose the draw.io app that receives the page IDs​

Set this in your Data Center instance before you run the migration.

  1. As an administrator, click on the gear icon, then select General configuration.
  2. Under the draw.io add-on section in the left panel, click on Configuration.
  3. Click on the Configuration tab.
  4. Add the line migrationTarget=standard to the Add-on Configuration field, then click Save changes.
  5. Wait six minutes before you start the migration.

The draw.io app migration will now send the page IDs to the draw.io app on your Cloud site. Each node of a cluster reads the setting within the six minutes.

Use one of these values for migrationTarget.

ValueThe draw.io app in Cloud that receives the page IDs
standarddraw.io for Confluence Cloud
zeroEgressThe draw.io Zero Egress app. The migration also changes the draw.io macros to the macros of this app.
standard-agc or zeroEgress-agcThe same apps on Atlassian Government Cloud
standard-ic or zeroEgress-icThe same apps on Atlassian Isolated Cloud
offNone. There is no draw.io app migration. This is also the case when the line is missing.

Note: draw.io reads this setting only while administrators alone can view and edit the Configuration page in the draw.io Configuration space. If you changed the restrictions of this page, restore them first.

Run the migration​

  1. Open the Confluence Cloud Migration Assistant in your Data Center instance.
  2. In the app assessment, mark draw.io as Needed in cloud.
  3. Create your migration and include the app migration, as described in Atlassian's migration process.
  4. Run the migration.

The migration will move your pages, diagrams and draw.io macros to the Cloud site. The draw.io app migration will then send the page IDs to the draw.io app in Cloud.

Check the page ID mappings in Cloud​

  1. Go to the draw.io Configuration section in the Confluence Cloud settings.
  2. Select the CCMA Migration tab.
  3. Under Page ID mappings, find the row with the base URL of your Data Center instance.

The row will show Yes in the In the app column when the app has the page ID mappings of this instance. Embedded diagrams and links inside diagrams now go to the right pages.

No row, or not all mappings arrived: Load the page ID mappings yourself. This adds what is missing. Don't run a Page IDs import on this site to add them.

What the draw.io app migration sends​

The draw.io app migration sends page IDs only: pairs of Data Center and Cloud page IDs, the IDs of the pages with draw.io content, the base URL of your Data Center instance and the number of entries. It sends no diagram data, no page titles and no user names.