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: 

Automatic merging exception

Nicolas_Grussenmeyer
February 20, 2018

Hi,

We have the "Enable automatic merging" enabled on one repository. We would like to add exception on specific branches. For example :

Branches containing 5.1.1.1 or 6.1.1.1 should not be automatically merged but all the others should.

I searched on the web but could not find any example on how to achieve this.

Does somebody have an idea?

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 1, 2018

Hi Nicolas, when you're using automatic merging in Bitbucket it's not possible to add exceptions. 

I've done some research and found a plugin that might help you, you can find it at Scriptrunner: Auto merge pull request.

Please note that Scriptrunner is a third party product and it's not developed by Atlassian. I've added them to this post in case you have any more questions related to their product.

Hope that helps!

Ana

TAGS
AUG Leaders

Atlassian Community Events