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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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?

TAGS
AUG Leaders

Atlassian Community Events