This resource represents schedule overrides in Jira Service Management. Use it to:
Lists all ongoing and future overrides of the schedule with given id in the request. It optionally takes two parameters - offset and size.
Permissions required: Permission to access to the schedule:
read:ops-config:jira-service-management
string
Requiredinteger
integer
Returned if the request is successful.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/schedules/{scheduleId}/overrides' \
--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
{
"values": [
{
"alias": "c73c3ffa-dcc3-4f28-ad13-d150ec108fc9",
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}
],
"links": {
"next": "/v1/schedules/f8f2a4ec-54b2-4513-865b-8cb3b81c9544/overrides?offset=50&size=25"
}
}
Creates a new override for the schedule with given id and properties.
Permissions required: Permission to create an override:
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
RequiredOverrideResponderInfo
Requiredstring
Requiredstring
Requiredarray<string>
Returned if the override is created successfully.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
curl --request POST \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/schedules/{scheduleId}/overrides' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"alias": "c73c3ffa-dcc3-4f28-ad13-d150ec108fc9",
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}
Returns the details of the override of a schedule with given IDs in the request.
Permissions required: Permission to access to the schedule:
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/schedules/{scheduleId}/overrides/{alias}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"alias": "c73c3ffa-dcc3-4f28-ad13-d150ec108fc9",
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}
Updates the override of a schedule with given IDs in the request.
Permissions required: Permission to update an override:
read:ops-config:jira-service-management
write:ops-config:jira-service-management
string
Requiredstring
RequiredOverrideResponderInfo
Requiredstring
Requiredstring
Requiredarray<string>
Returned if the request is successful.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
curl --request PUT \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/schedules/{scheduleId}/overrides/{alias}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"alias": "c73c3ffa-dcc3-4f28-ad13-d150ec108fc9",
"responder": {
"type": "user",
"id": "1626a3a7-e159-45e0-b067-b99210917b16"
},
"startDate": "2023-11-27T05:00:00Z",
"endDate": "2023-11-28T10:00:00Z",
"rotationIds": [
"dec43451-becf-4d2b-99c6-2f98ff2c1eb3",
"0c829882-7de3-431e-8b64-8edcca7606d8"
]
}
Deletes the override of a schedule with given IDs in the request.
Permissions required: Permission to delete the override:
read:ops-config:jira-service-management
delete:ops-config:jira-service-management
string
Requiredstring
RequiredReturned if the override is deleted successfully.
1
2
3
curl --request DELETE \
--url 'https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/schedules/{scheduleId}/overrides/{alias}' \
--user 'email@example.com:<api_token>'
Rate this page: