To generate Id Mappings between your Server/DC and Cloud instances, you need to trigger an asynchronous job using the REST API. This job will analyze both your source (Server/DC) and target (Cloud) sites to create a comprehensive mapping of entity IDs.
Before triggering an Id Mapping job, ensure you have:
A server admin can authenticate API calls using either:
HTTP Method: POST
URL:
1 2https://api.atlassian.com/migrations/reports/v1/id-mappings/trigger
Content-Type: application/json
1 2{ "product": "CONFLUENCE", "destinationURL": "https://your-confluence-cloud-site.atlassian.net", "sourceURL": "https://your-confluence-server-base-url" }
1 2{ "product": "JIRA", "destinationURL": "https://your-jira-cloud-site.atlassian.net", "sourceURL": "https://your-jira-server-base-url" }
| Field | Type | Required | Description |
|---|---|---|---|
product | string | Yes | Product type: CONFLUENCE or JIRA |
destinationURL | string | Yes | Base URL of target Cloud site (no trailing slash) |
sourceURL | string | Yes | Base URL of source Server/DC instance |
/CONFLUENCE or JIRA (case-sensitive)https://)1 2{ "jobId": "<JOB_ID>", "status": "PENDING" }
What this means: Your Id Mapping job has been accepted and queued for processing. Save the jobId - you'll need it to check status and download the report.
1 2{ "status": 400, "errorMessage": "Validation failed", "errors": [ "Product must be CONFLUENCE or JIRA" ], "id": "<REQUEST_ID>" }
Common causes:
CONFLUENCE or JIRA)1 2{ "status": 500, "errorMessage": "Internal Server Error", "id": "<REQUEST_ID>" }
What to do: This indicates a service issue. Wait a few minutes and retry. If the problem persists, contact support with the request ID.
1 2curl -X POST \ https://api.atlassian.com/migrations/reports/v1/id-mappings/trigger \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "product": "JIRA", "destinationURL": "https://mycompany.atlassian.net", "sourceURL": "https://jira.mycompany.com" }'
The process is asynchronous, so you'll need to check the job status periodically.
Rate this page: