Skip to:

Protect Unmerged Branch Hook for Bitbucket Data Center

works with Bitbucket Server 5.0.0 - 8.14.6, Bitbucket Data Center 9.0.0 - 9.4.2 and more

OVERALL RATINGS

We no longer offer sales and support for server apps. You can stay connected by exploring the migration options to either the cloud or Data Center version of this app.

Explore migration program

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 again possible to delete it.

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 part of the Marketplace Bug Bounty program.

About Bug Bounty program

Version information

We no longer offer sales and support for server apps. You can still explore the earlier versions but these may not offer the necessary support.

Explore all server versions

Learn and explore

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

Follow