Schedule on-calls
List on-call responders
Changed onLists the on-call responders at a specific time for the schedule with given id in the request.<br> <br> Permissions required: Permission to access to the schedule:
- the user has read-only administrative right.
- the schedule's assigned team is one of the teams that the user belongs to.
- the user is added to a rotation of the schedule as a responder.
- a team is added to a rotation of the schedule as a responder, and the user is a member of this team.
- an escalation is added to a rotation of the schedule as a responder, and the user is a member of this escalation.
- there is an override to the user in the schedule.
get/api/{cloudId}/v1/schedules/{scheduleId}/on-calls
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://auth.stg.atlassian.com/authorizeToken URLhttps://auth.stg.atlassian.com/oauth/tokenScopesread:ops-config:jira-service-management
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
scheduleIdstring required
ID of the schedule.
Query parameters
flatboolean
When enabled, returns only the user ids of the on-call participants in user type. Otherwise, returns the complete flattening tree for on-calls.
datestring date-time
The date for which the schedule's on-calls are requested.
Response
Returned if the request is successful.
Changes
- info
endpoint added
- info