Use migration task resources to execute migration tasks or run pre-flight checks. Tasks are aggregated under a job.
Returns all the tasks for the given jobId
, sorted in descending order of creation. Response is paginated with 20 entries per page.
Rate limit: 600 requests per minute.
string
Requiredstring
OK
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/migrations/public/v1/jobs/{jobId}/tasks' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"data": [
{
"taskId": "<string>",
"taskType": "<string>",
"createdAt": "<string>",
"payload": {
"checkTypes": {
"includeKeys": [
"<string>"
],
"excludeKeys": [
"<string>"
]
}
},
"results": {
"artifacts": [
{
"name": "<string>",
"location": "<string>",
"expireAt": 45
}
]
}
}
],
"links": {
"next": "<string>",
"self": "<string>"
}
}
Use this API to create new tasks. A task can either be a pre-migration check or a migration. The endpoint returns a taskId
, which you can later use to check the status and definition of your tasks.
Rate limit: 5 requests per minute.
string
RequiredanyOf [ConfluenceOnpremisesToCloudTaskTypes, JiraOnpremisesToCloudTaskTypes]
RequiredoneOf [ConfluenceOnpremisesToCloudCheckOptions, ConfluenceOnpremisesToCloudMigrateOptions, JiraOnpremisesToCloudCheckOptions, JiraOnpremisesToCloudMigrateOptions]
OK
1
2
3
4
5
6
7
curl --request POST \
--url 'https://api.atlassian.com/migrations/public/v1/jobs/{jobId}/tasks' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"task": "check"
}'
1
2
3
{
"taskId": "0bacecde-372e-4d84-8d79-d66433b8fa45"
}
Returns the definition of a specific task within a job. Requires both a jobId
and a taskId
.
Rate limit: 600 requests per minute.
string
Requiredstring
RequiredOK
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/migrations/public/v1/jobs/{jobId}/tasks/{taskId}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"taskId": "<string>",
"taskType": "<string>",
"createdAt": "<string>",
"payload": {
"checkTypes": {
"includeKeys": [
"<string>"
],
"excludeKeys": [
"<string>"
]
}
},
"results": {
"artifacts": [
{
"name": "<string>",
"location": "<string>",
"expireAt": 45
}
]
}
}
Rate this page: