manage_repository_hooks
Enable, disable, or configure repository hooks for controlling repository events with custom settings.
Instructions
Manage repository hook settings. Actions: "enable" (enable a hook), "disable" (disable a hook), "configure" (set hook settings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform. | |
| hookKey | Yes | Hook key (e.g. 'com.atlassian.bitbucket.server.bitbucket-bundled-hooks:force-push-hook'). | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| settings | No | Hook settings object (for 'configure' action). | |
| repository | Yes | Repository slug. |