|docs
Start Trial

Create a rule

Create a new rule.

A Rule configures the bidirectional synchronization between Jira issues and PagerDuty incidents.

Scoped OAuth requires: jira_cloud_rules.write

Authorization<token>

In: header

Path Parameters

id*PagerDutyObfuscatedId

The ID of the account mapping.

Match^(P[0-9A-Z]{6}|Q[0-9A-Z]{13})$
FormatPagerDuty Id

Header Parameters

Content-Type*"application/json"

Content-Type Header

Default"application/json"

Value in

  • "application/json"

Request Body

application/json

The rule to be created.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json