Forums

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

How to let the API merge back into a branch with branch restrictions

Marijn Achterkamp
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!
December 8, 2025

Our pipeline wants to merge back hotfixes to main automatically. This fails however because main has merge restrictions so only specific people can merge to main. So as I cannot seem to set the API 'user' to the allow list for merging, How do I let the pipeline merge back to our main?

1 answer

0 votes
Saxea _Flowie_
Atlassian Partner
December 8, 2025

Hi @Marijn Achterkamp,

You might want to have a look at BCLOUD-22400.

You might also be interested in the Bitbucket addon we provide. It has specific support for the kind of merge cascade workflow you’re looking to implement - see example here.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events