Notification rule steps

Create notification rule step

Creates a notification rule step with the given properties.

post/api/{cloudId}/v1/notification-rules/{ruleId}/steps

Request

  • Base URL
    https://api.atlassian.com/jsm/ops
  • URL
    https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/notification-rules/{ruleId}/steps
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.stg.atlassian.com/authorize
      Token URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management, write:ops-config:jira-service-management

Path parameters

ruleIdstring required

Identifier of the notification rule.

Request body

sendAfterinteger

Time period when notification will be sent after in minutes.

enabledboolean required

Specifies whether given step will be enabled or not when it is created.

Example request

{
  "contact": {
    "method": "email",
    "to": "johnsmith@atlassian.com"
  },
  "sendAfter": 5
}

Response

Returned if the request is successful.

idstring

Identifier of the notification rule step which belongs to given notification rule.

sendAfterinteger

Time period when notification will be sent after in minutes.

enabledboolean

Specifies whether given step will be enabled or not when it is created.

Example response

{
  "id": "dbf70781-d6d8-4924-b90d-6a0c77833748",
  "sendAfter": 5,
  "contact": {
    "method": "email",
    "to": "johnsmith@atlassian.com"
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.