This resource supports app migrations. Use it to:
Updates the value of a custom field added by Connect apps on one or more issues. The values of up to 200 custom fields can be updated.
Permissions required: Only Connect apps can make this request
Forge and OAuth2 apps cannot access this REST resource.
Connect app scope required: NONE
string
Requiredarray<ConnectCustomFieldValue>
Returned if the request is successful.
any
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
33
34
35
36
37
38
39
40
41
42
43
44
curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/atlassian-connect/1/migration/field' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"updateValueList": [
{
"_type": "StringIssueField",
"issueID": 10001,
"fieldID": 10076,
"string": "new string value"
},
{
"_type": "TextIssueField",
"issueID": 10002,
"fieldID": 10077,
"text": "new text value"
},
{
"_type": "SingleSelectIssueField",
"issueID": 10003,
"fieldID": 10078,
"optionID": "1"
},
{
"_type": "MultiSelectIssueField",
"issueID": 10004,
"fieldID": 10079,
"optionID": "2"
},
{
"_type": "RichTextIssueField",
"issueID": 10005,
"fieldID": 10080,
"richText": "new rich text value"
},
{
"_type": "NumberIssueField",
"issueID": 10006,
"fieldID": 10082,
"number": 54
}
]
}'
Updates the values of multiple entity properties for an object, up to 50 updates per request. This operation is for use by Connect apps during app migration.
Forge and OAuth2 apps cannot access this REST resource.
Connect app scope required: NONE
string
Requiredstring
Requiredarray<EntityPropertyDetails>
1
Max items: 50
number
Requiredstring
Requiredstring
RequiredReturned if the request is successful.
1
2
3
4
5
6
7
8
9
10
curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/atlassian-connect/1/migration/properties/{entityType}' \
--header 'Content-Type: application/json' \
--data '[
{
"entityId": 123,
"key": "mykey",
"value": "newValue"
}
]'
Returns configurations for workflow transition rules migrated from server to cloud and owned by the calling Connect app.
Forge and OAuth2 apps cannot access this REST resource.
Connect app scope required: NONE
string
Requiredstring
array<string>
Requiredstring
RequiredReturned if the request is successful.
Details of workflow transition rules.
1
2
3
4
5
6
7
8
9
10
11
curl --request POST \
--url 'https://your-domain.atlassian.net/rest/atlassian-connect/1/migration/workflow/rule/search' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"expand": "transition",
"ruleIds": [
"55d44f1d-c859-42e5-9c27-2c5ec3f340b1"
],
"workflowEntityId": "a498d711-685d-428d-8c3e-bc03bb450ea7"
}'
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"workflowEntityId": "a498d711-685d-428d-8c3e-bc03bb450ea7",
"invalidRules": [
"55d44f1d-c859-42e5-9c27-2c5ec3f340b1"
],
"validRules": [
{
"workflowId": {
"name": "Workflow name",
"draft": true
},
"postFunctions": [
{
"id": "123",
"key": "WorkflowKey",
"configuration": {
"value": "WorkflowValidator"
},
"transition": {
"name": "transition",
"id": 123
}
}
],
"conditions": [
{
"id": "123",
"key": "WorkflowKey",
"configuration": {
"value": "WorkflowValidator"
},
"transition": {
"name": "transition",
"id": 123
}
}
],
"validators": [
{
"id": "123",
"key": "WorkflowKey",
"configuration": {
"value": "WorkflowValidator"
},
"transition": {
"name": "transition",
"id": 123
}
}
]
}
]
}
Rate this page: