Notification rules
List notification rules
Lists all notification rules for the user. It optionally takes two parameters - offset and size.
get/api/{cloudId}/v1/notification-rules
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/notification-rules
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management
Query parameters
offsetinteger
The offset parameter controls the starting point within the collection of resource results.
sizeinteger
The size parameter controls the maximum number of items that may be returned for a single request.
Response
Returned if the request is successful.
Example response
{
"values": [
{
"id": "4292c912-12ac-4ac0-b195-9484fbb98c5c",
"name": "Create Alert",
"actionType": "create-alert",
"criteria": {
"type": "match-all"
},
"timeRestriction": {
"type": "weekday-and-time-of-day",
"restrictions": [
{
"startDay": "monday",
"endDay": "friday",
"startHour": 13,
"endHour": 18,
"startMin": 0,
"endMin": 0
}
]
},
"order": 1,
"steps": [
{
"id": "0hcb717e-c442-4185-8bc1-cc998844f567",
"sendAfter": 0,
"contact": {
"method": "email",
"to": "test@atlassian.com"
},
"enabled": true
}
],
"repeat": {
"loopAfter": 1,
"enabled": true
},
"enabled": true
}
],
"links": {
"next": "/v1/notification-rules?offset=10&size=5"
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.