The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events