Forums

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

Default reviewers -> Branch pattern -> Source branch -> Match all branches except two

Galya_Bogdanova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2020

Is it possible to add a pattern in Default reviewers -> Branch pattern -> Source branch to match all but two branches? I want to add a default reviewer to all sources except release/* and hotfix/* when merged to target master. The issue is that we don't have a mechanism in place to enforce the branching model, so branches could have any names and I want to ensure all branches except the mentioned above will be catched by the pattern.

1 answer

1 accepted

0 votes
Answer accepted
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2020

Hi @Galya_Bogdanova 

This Branch name pattern doesn't support negation. More details in https://confluence.atlassian.com/display/BITBUCKETSERVER069/Branch+permission+patterns

Idan Shabat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2021

is there an elegant way around it?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events