Skip to main content
POST
Create 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

Body

application/json
name
string
required
Minimum string length: 1
trigger_event
enum<string>
required
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.