Global External Hooks


The feature Global Hooks is available in the External Hooks add-on starting from 12.0.0 version.

Global Hooks is a powerful feature enabling system administrators (Bitbucket users with the SYS_ADMIN privilege) to configure External Hooks on a global level such as Pre Receive, Post Receive and Merge Check.

screenshot

The global hooks are executed no matter what is specified on project/repository level. Therefore, a user can combine global hooks with project/repository hooks.

For example, a global hook can require all commits to be signed across the entire Bitbucket and a repository hook can require commits to mention a Jira issue in every commit message.

Personal repos #

An administrator can:

  • enable global hooks for personal repositories (by default);
  • disable global hooks for personal repositories, which means the hook will be appled for projects/repositories only;
  • enable global hooks ONLY for personal repositories, which means the hook WILL NOT be appled for projects/repositories only;