This resource represents Sync Action Groups in Jira Service Management. Use it to get, list, create, update, delete or reorder of action groups of a sync.
Lists sync action groups of a sync
read:ops-config:jira-service-management
string
Requiredstring
Returned if the request is successful
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
{
"id": "9fb515a9-a902-444a-aa77-ff8b942cd250",
"type": "forwarding",
"name": "Create alert",
"order": 2.2864804,
"enabled": false
},
{
"id": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"type": "updating",
"name": "alert updating rules",
"order": 1,
"enabled": true
}
]
Creates a sync action group
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
Requiredstring
Requirednumber
boolean
AddedActionDto
array<AddedActionDto>
Returned if the request is successful
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
54
55
curl --request POST \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"type": "forwarding",
"name": "<string>",
"order": 26,
"enabled": true,
"rootAction": {
"type": "<string>",
"name": "<string>",
"enabled": true,
"filter": {
"conditionsEmpty": true,
"conditionMatchType": "match-all",
"conditions": [
{
"field": "<string>",
"operation": "matches"
}
]
},
"typeSpecificProperties": {},
"fieldMappings": {},
"actionMapping": {
"type": "<string>",
"parameter": {}
}
},
"updateActions": [
{
"type": "<string>",
"name": "<string>",
"enabled": true,
"filter": {
"conditionsEmpty": true,
"conditionMatchType": "match-all",
"conditions": [
{
"field": "<string>",
"operation": "matches"
}
]
},
"typeSpecificProperties": {},
"fieldMappings": {},
"actionMapping": {
"type": "<string>",
"parameter": {}
}
}
]
}'
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
{
"id": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"type": "updating",
"name": "alert updating rules",
"order": 1,
"enabled": true,
"updateActions": [
{
"id": "95c5fe2d-dad9-470e-a9af-e7fcdb692058",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 2.1411576,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "acknowledge"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
},
{
"id": "597f3162-4d33-4ecc-ae99-f70fc06b86f6",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 3.1722643,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "close"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
}
]
}
Gets a sync action group.
read:ops-config:jira-service-management
string
Requiredstring
RequiredReturned if the request is successful
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups/{id}' \
--user 'email@example.com:<api_token>' \
--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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"id": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"type": "updating",
"name": "alert updating rules",
"order": 1,
"enabled": true,
"updateActions": [
{
"id": "95c5fe2d-dad9-470e-a9af-e7fcdb692058",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 2.1411576,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "acknowledge"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
},
{
"id": "597f3162-4d33-4ecc-ae99-f70fc06b86f6",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 3.1722643,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "close"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
}
]
}
Deletes a sync action group.
read:ops-config:jira-service-management
delete:ops-config:jira-service-management
string
Requiredstring
RequiredReturned if the request is successful
1
2
3
curl --request DELETE \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups/{id}' \
--user 'email@example.com:<api_token>'
Updates a sync action group.
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
Requiredstring
boolean
ActionsDto
Returned if the request is successful
Update actions of the action group.
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
curl --request PATCH \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"enabled": true,
"actions": {
"added": [
{
"type": "<string>",
"name": "<string>",
"enabled": true,
"filter": {},
"typeSpecificProperties": {},
"fieldMappings": {},
"actionMapping": {
"type": "<string>"
}
}
],
"updated": [
{
"id": "<string>",
"type": "<string>",
"name": "<string>",
"enabled": true,
"filter": {},
"typeSpecificProperties": {},
"fieldMappings": {},
"actionMapping": {
"type": "<string>"
}
}
],
"deleted": [
"<string>"
]
}
}'
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
{
"id": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"type": "updating",
"name": "alert updating rules",
"order": 1,
"enabled": true,
"updateActions": [
{
"id": "95c5fe2d-dad9-470e-a9af-e7fcdb692058",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 2.1411576,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "acknowledge"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
},
{
"id": "597f3162-4d33-4ecc-ae99-f70fc06b86f6",
"name": "Comment Issue",
"type": "commentIssue",
"enabled": true,
"order": 3.1722643,
"direction": "outgoing",
"actionGroupId": "f9447ae4-5138-4cee-983c-a0b4f1492963",
"actionMapping": {
"type": "close"
},
"filter": {
"conditionsEmpty": false,
"conditionMatchType": "match-all",
"conditions": []
},
"fieldMappings": {},
"typeSpecificProperties": {}
}
]
}
Reorders a sync action group.
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
Requiredstring
RequiredReturned if the request is successful
1
2
3
4
5
6
7
curl --request PATCH \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{syncId}/action-groups/{id}/order' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json' \
--data '{
"successorId": "<string>"
}'
Rate this page: