Skip to main content
PUT
Update automation rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id identifier

ruleId
string
required

ruleId identifier

Body

application/json

Partial owner/admin update. Any supplied actions must satisfy AutomationRuleAction.

name
string
Minimum string length: 1
trigger_event
enum<string>
Available options:
issue.created,
issue.status_changed,
issue.assigned,
issue.priority_changed,
pr.merged
conditions
object[]
actions
object[]

Executable automation action. Values are validated by action type; invalid actions return 400.

enabled
boolean
project_id
string<uuid> | null

Response

Successful response

The response is of type object.