-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Enterprise
-
1
Problem Definition
When many branch permissions exist for specific branches (not "Pattern" or "Branch model" type permissions), the branch permissions page can take a long time to load.
The reason for this is that Bitbucket Server will resolve the ref for the branch the permission applies to, in order to determine the display name of the ref, and it's availability.
Workaround
To work around this issue, use "Pattern" permissions instead of "Branch" permissions.
You can qualify your pattern to ensure it will only match *branches*, for example:
- the pattern heads/master will match any branch called master
- the pattern master will match any branch or tag called master
For more information on patterns see the documentation on branch permission patterns.