Hello, as the title says i'm looking for a way to limit the name of bitbukets branches to 50 characters. Do you know any way ? i'm trying to do a bash script using Scriptrunner to make this as a pre-hook but i can't manage to make it work.
With the Better Commit Policy app, you can implement a rule which matches the branch name against a regular expression. The regex can limit the number of chars to 50 (and do a million of other things).
The left-side example shows a similar use case with branch names:
See:
(Discl. I'm a developer working on this paid and supported app.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.