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

Different merge strategy based on branch

Kyunghwan Choi
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!
February 8, 2023

Is it possible to set a different merge strategy based on target branch? For example, main only allows 'squash, ff only', and release/* branches allows ff only? If this is not possible, which I don't think it is, can this be requested as a feature?

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2023

Hello @Kyunghwan Choi ,

Welcome to Atlassian Community!

I'm afraid it's currently not possible to define the merge strategy based on the branch, but the good news is that we already have a feature request to include that functionality: 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

Thank you, @Kyunghwan Choi !
Patrik S

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events