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: 

Does branch permission accept pattern like this : release-1.0.0-product-{alpha1,alpha2,rc1,rc2}

Mohit Sharma
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!
June 11, 2026

Does branch permission accept pattern like this : release-1.0.0-product-{alpha1,alpha2,rc1,rc2}

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Tomislav Tobijas
Community Champion
June 13, 2026

Hi @Mohit Sharma ,

I think that's a no. Brace expressions such as {} syntax should be supported in pipelines trigger conditions but I don't think it's supported in branch permissions.

You could potentially try using wildcards/a wildcard character to either the start or the end of a string to match multiple branches. For example, release-* would match any branch starting with "release-"

Also, you could maybe try this:

Since you cannot use a single pattern with brace expansion, you should create separate branch restrictions for each specific pattern or use a broader wildcard if appropriate:

  1. Create one restriction for release-1.0.0-product-alpha*

  2. Create another for release-1.0.0-product-rc*

Alternatively, if these branches are part of a specific workflow, you can use Branch Types (if your branching model is enabled) to apply permissions to all "release" branches simultaneously.

But I'm no expert in this, so you'll have to test this around 🧪

Cheers,
Tobi

Mohit Sharma
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!
June 14, 2026

Thank you for inputs, a pretty helpful information. 
Regards,

Mohit

Like • Tomislav Tobijas likes this
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events