-
Suggestion
-
Resolution: Unresolved
-
None
Problem Definition
Bitbucket Cloud has a merge check Maximum number of commits behind destination branch in the branch restrictions.
Some users would like to use this merge check with a different branch instead of the destination branch, e.g., specifying the repo's main branch instead because of their branching strategy.
Suggested Solution
Allow users to choose a branch for the Maximum number of commits behind merge check.
Workaround
There is an Atlassian Marketplace app by a third-party company that already supports this:
https://marketplace.atlassian.com/apps/1231101/flowie?hosting=cloud&tab=overview
Users could also build their own app with Forge that implements a custom merge check:
https://developer.atlassian.com/platform/forge/manifest-reference/modules/bitbucket-merge-check/