Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

216 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you