Load page ID mappings after a Confluence Cloud migration
The draw.io app in Confluence Cloud translates the Data Center page IDs in embedded diagrams and in links inside diagrams. To do this, it needs the page ID mappings of your Data Center instance: which Data Center page became which Cloud page.
Load the page ID mappings yourself when your migration to Confluence Cloud ran without the draw.io app migration, or when not all the mappings arrived.
You need two files: the ID mapping report from Atlassian, and the migration scan from your Data Center instance.
Zero Egress app: After a migration without the draw.io app migration, follow the steps to migrate from Data Center to the Zero Egress app instead of this page.
What you need
- draw.io for Confluence Cloud version 7.11.0 or later.
- For the migration scan: 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.
- Confluence administrator permissions on both instances.
- For the ID mapping report: site or organisation administrator permissions on your Cloud site, and an Atlassian API token.
Get the ID mapping report from Atlassian
Atlassian creates the report with its ID mapping API. See what ID mapping is in Atlassian's documentation.
- Start an ID mapping job. Use
CONFLUENCEas theproduct, the base URL of your Data Center instance as thesourceURLand the URL of your Cloud site as thedestinationURL. - Check the status of the job until it is
SUCCESS. - Ask for the download link and download the report. The link works for one hour.
The report will be a CSV file with the columns Entity Type, Server ID and Cloud ID. It lists pages and blog posts with their Data Center and Cloud IDs.
Note: Use the base URL that your Data Center instance had when you ran the migration.
Save the migration scan in Data Center
The migration scan lists the pages with draw.io content. The draw.io app in Cloud uses it when you finish the page ID translation.
- As an administrator of your Data Center instance, open
<base URL>/admin/drawioConfig.action?enableMigrationScan=1in your browser. - Select the Migration Scan tab.
- Leave the space filter empty to scan the whole site.
- Click Save scan as file.
The scan will run, and your browser will save the file drawioMigrationScan.zip when it is done. The scan only reads your site and changes nothing. Download the last scan gets the file of the last scan again for one day.
Load the two files in Cloud
- Go to the draw.io Configuration section in the Confluence Cloud settings.
- Select the CCMA Migration tab.
- Under Page ID mappings, expand Migrated without the draw.io app?
- Click Load ID Mapping Report and select the report from Atlassian.
- Enter the base URL of your Data Center instance when you are asked for it.
- Check the summary, then confirm it. The summary says how many mappings the report has, and whether a sample of its Cloud pages exists on this site.
- Click Load Data Center Scan and select the file
drawioMigrationScan.zip.
The app will store the mappings in the background. Click Refresh after a few minutes: your Data Center instance will have a row under Page ID mappings, with Yes in the In the app column. Embedded diagrams and links inside diagrams now go to the right pages.
Note: A report only adds the mappings that the app does not have yet. Select the option to replace the app's mappings only when your report is newer than the mappings in the app, for example after you migrated a space again.
What the files contain
The ID mapping report and the migration scan contain page IDs only. They contain no diagram data.