This resource represents Syncs in Jira Service Management. Use it to get, list, create, update, or delete syncs.
Lists syncs according to the provided filters.
read:ops-config:jira-service-management
string
string
string
string
Returned if the request is successful
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs' \
--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
{
"links": {
"next": "/v1/syncs?offset=8&size=2",
"previous": "/v1/syncs?offset=4&size=2"
},
"values": [
{
"id": "22334455-1288-414d-b0cc-e725ba3331f7",
"name": "Jira Exmaple",
"type": "jira-software-cloud",
"enabled": true,
"teamId": "8ae8a0a2-1122-5566-8899-11b82bbd85c9"
},
{
"id": "12fa0a15-1288-414d-b0cc-e725ba3331f7",
"name": "JSM Example",
"type": "jira-service-management-cloud",
"enabled": false,
"teamId": "005564cf-1122-5566-8899-fa8ed200bdf6"
}
]
}
Creates a sync for syncing alerts created and issues in a selected project.
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
boolean
string
string
object
Returned if the request is successful
List of syncs.
1
2
3
4
5
6
7
8
9
10
11
12
13
curl --request POST \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"enabled": true,
"teamId": "<string>",
"type": "<string>",
"properties": {}
}'
1
2
3
4
5
6
7
{
"id": "12fa0a15-1288-414d-b0cc-e725ba3331f7",
"name": "JSM Example",
"type": "jira-service-management-cloud",
"enabled": true,
"teamId": "005564cf-1122-5566-8899-fa8ed200bdf6"
}
Returns the sync.
read:ops-config:jira-service-management
string
RequiredReturned if the request is successful
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{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
{
"id": "12fa0a15-1288-414d-b0cc-e725ba3331f7",
"name": "JSM Example",
"type": "jira-service-management-cloud",
"description": "A Sample of JSM Sync",
"enabled": true,
"typeSpecificProperties": {
"connectionId": "dfd0441e-c86b-4011-bd54-7b6717f45b61",
"projectKey": "JE",
"forwardingActionGroupEnabled": false,
"updatingActionGroupEnabled": true,
"suppressNotifications": false
}
}
Deletes a sync.
read:ops-config:jira-service-management
delete:ops-config:jira-service-management
string
RequiredReturned if the request is successful
1
2
3
curl --request DELETE \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{id}' \
--user 'email@example.com:<api_token>'
Updates a sync.
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
string
boolean
string
object
Returned if the request is successful
List of syncs.
1
2
3
4
5
6
7
8
9
10
11
12
curl --request PATCH \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/syncs/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"enabled": true,
"teamId": "<string>",
"properties": {}
}'
1
2
3
4
5
6
7
{
"id": "12fa0a15-1288-414d-b0cc-e725ba3331f7",
"name": "JSM Example",
"type": "jira-service-management-cloud",
"enabled": true,
"teamId": "005564cf-1122-5566-8899-fa8ed200bdf6"
}
Rate this page: