Team Policies
List team policies
Changed onList team policies
get/api/{cloudId}/v1/teams/{teamId}/policies
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
teamIdstring required
The jira team identifier
Query parameters
type'notification' | 'alert' required
The type of policy. alert or notification
sizeinteger
The limit parameter controls the maximum number of items that may be returned for a single request.
offsetinteger
The offset parameter controls the starting point within the collection of resource results.
Response
Returned if the request is successful.
Example response
{
"values": [
{
"type": "alert",
"id": "69291859-ed73-4396-8b74-c61a3c810cdf",
"name": "FE Daily On-call Policy",
"order": 1
}
],
"links": {
"next": "/v1/teams/{teamId}/policies?offset=1&size=1&type=notification"
}
}Changes
- info
endpoint added
- info