@(webHook: gitbucket.core.model.WebHook, events: Set[gitbucket.core.model.WebHook.Event], create: Boolean, newButtonUrl: String, editButtonUrl: String, deleteButtonUrl: String, testButtonUrl: String)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @import gitbucket.core.model.WebHook._ @import gitbucket.core.model.WebHookContentType @check(name: String, event: Event) = { name="@(name).@event.name" value="on" @if(events(event)){checked} }
Webhook / Manage webhook
Payload URL
@if(create){ } else { }
Content type
Security Token

Which events would you like to trigger this webhook?
Create Branch, or tag created. Gollum Wiki page updated. Issue comment Issue commented on. Issues Issue opened, closed. Pull request Pull request opened, closed, or synchronized. Pull request review comment Pull request diff commented on. Push Git push to a repository.
@if(!create){ Delete webhook } else { }

### WebHook Test

request to

ERROR
Headers

Payload

ERROR
Headers

Body