Skip to:

Bitbucket Data Center Protect Unmerged Hook

works with Bitbucket Server 5.0.0 - 8.14.6, Bitbucket Data Center 9.0.0 - 9.4.1 and more
Get it now

Free app

OVERALL RATINGS

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 4.0.1for Bitbucket Data Center 9.0.0 - 9.4.1

Release date
Jul 23rd 2024
Summary
Updated to support Bitbucket Data Center 9.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