Control Freak Hook for Bitbucket Data Center

for Bitbucket Server 7.0.0 - 8.1.1 and more
1,036 installs
  • Supported
Free app

Free. Ensure consistent git commit policy across your organization. Make sure commits reference Jira tickets. Similar to YACC

Ensure Your Team Follows Best Practices With Git

- Enforce a rebase, squash, or git flow policy

- Prevent repos with bad defaults (e.g. "master" can be deleted!)

- Run a Gerrit work flow (e.g. "Needs Work" PRs can't merge)

- Prevent costly --force or --mirror mistakes

Helpful Reject Messages Keep Developers Productive

- Control Freak's rejection messages include specific steps to fix the problem

- Developers less likely to pester and distract their team's top git expert for help

- Able to fix their own git commit mistakes immediately

Not Just Yet Another Jira Hook for Bitbucket

- Define protected branches using Bitbucket's branching model

- All pushes and merges are checked, including from forks

- Jira checker can look at status, assignee, or arbitrary JQL

- Flexible config (e.g. ignore merges)

More details

Control Freak is a collection of push and merge hooks to reject commits based on pre-configured rules. Available rules include:

  • Enforce JIRA linking for git commit messages
  • Branch naming policy
  • Block large files
  • Block branch deletes / rewrites / force-pushes of important branches
  • Enforce a rebase / squash workflow
  • Enforce a pull-request workflow
  • Block self-approvals on pull-requests
  • Author / committer name and email checks
  • Block empty commits
  • Block foxtrot merges

Configuration can be applied per-repo, per-project, or globally. Rules can be applied per repository type (regular vs. personal vs. fork). User and Group based exemption lists let service accounts, bots, and power users avoid the checks when necessary.

Our checking logic is optimized to run at most two "git rev-list" commands per push or merge, no matter how many rules you have enabled.



We also make:

Privacy and security

Privacy policy

Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's partner.

Partner privacy policy


This app is not part of the Marketplace Bug Bounty program. Learn more



2nd half of our Jira controls (project whitelist, project blacklist, invalid statuses, jira reference parsing rules).