Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Branch name restrictions - auto naming replacement

Deleted user May 31, 2021

Hi.

We want to enforce and restrict some branch names ruling. Such as no '.' (dot) in the branch name except release/ prefix.
So I know how to create such restriction with Bitbucket repo settings, BUT when I open a branch thru Jira, Bitbucket suggest the correct naming based on Jira's title. On the title it's allowed to use any characters. but can Bitbucket somehow replace the suggested name according to the above rule?

i.e Jira title is:  'Defect - Release 1.0 - Something is not working'
Bitbucket suggested branch name: 'bugfix/Defect---release-1.0---Something-is-not-working'.
Desirable branch name: 'bugfix/Defect---release-1-0---Something-is-not-working'.

Or in other words, as bitbucket replaces spaces to '-' , can it also replace other characters?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events