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

Can I specify regex in the branching model?

Deepak Jain January 18, 2018

I am trying to configure branch naming to conform to rel/1.2_<text>.  I tried using

rel/[0-9]+\.[0-9]+_

 

But the branch push of rel/1.2_test gets rejected by bit bucket server. Does the branching model support regular expression?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 5, 2018

Hi Deepak!  We don't allow the use of regex to set up the branching name structure but there are third party plugins such as Script Runner and YACC that can be used to restrict and or enforce branch names via regex. We have a Feature request you might be interested in, you can find it at BSERV-4208.

Hope that helps!

Ana

 

Deepak Jain February 5, 2018

Thanks. I was able to the same using Push Check Plugin.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 5, 2018

Glad to hear that, Deepak! Have a good day,

Ana 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events