Register Dynamic Webhooks
POST {{baseUrl}}/rest/api/3/webhook
Registers webhooks.
Permissions required: Only Connect apps can use this operation.
Request Body
{"url"=>"<string>", "webhooks"=>[{"events"=>["<string>", "<string>"], "jqlFilter"=>"<string>"}, {"events"=>["<string>", "<string>"], "jqlFilter"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"webhookRegistrationResult":[{"createdWebhookId":1000},{"errors":["The clause watchCount is unsupported"]},{"createdWebhookId":1001}]}