Skip to:

Marketplace

Protect Unmerged Branch Hook for Bitbucket Data Center

works with Bitbucket Server 5.0.0 - 8.14.6, Bitbucket Data Center 10.0.0 - 10.1.3 and more
Get it now

Free app

OVERALL RATINGS

INSTALLS

456

SUPPORT

  • Partner Supported

Key highlights of the appRejects pushes that delete branches involved in active (not merged/declined) pull requests

Configure your hooks

Enable this hook through your repository settings.

On push the hook will check and reject the push

If you try to delete an unmerged branch, the hook will check for this and reject the push.

Once merged or declined, deletes are allowed again

When the target branch is merged or declined, it will be possible to delete it again.

More details

Rejects pushes that delete branches involved in active (not merged/declined) pull requests

Configure your hooks

Enable this hook through your repository settings.

On push the hook will check and reject the push

If you try to delete an unmerged branch, the hook will check for this and reject the push.

Once merged or declined, deletes are allowed again

When the target branch is merged or declined, it will be possible to delete it again.

Resources

Privacy and Security

Privacy policy

Atlassian's privacy policy is applicable to the use of this app.

Atlassian privacy policy

Security program

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

Version information

Version 5.0.0for Bitbucket Data Center 10.0.0 - 10.1.3

Release date
Nov 25th 2025
Summary
Updated to support Bitbucket Data Center 10.0
Payment model
Free
Explore all Data Center versions

Learn and explore

  • What’s Marketplace
  • App installation
  • About Atlassian
  • Atlassian resources
  • Search and ranking
  • Atlassian events
  • Atlassian foundation

Follow