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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

bitbucket auto merge pull request


I want to prepare script that run merge automatically when some body create pull request
from origin develop to origin feature/*
without any conflicts.

Is it possible ?

3 answers

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team Aug 17, 2018

Hi Michał! Are you planning to use the API? Firstly, we'll need to know if you're using Bitbucket Server or Cloud, as the APIs are different. You can find more info at Bitbucket Cloud REST API and Bitbucket Server REST API.

Also, for this kind of questions you might get a better response if you head to our Developer Community.

Hope that helps!


Workzone Plugin can auto-merge based on conditions. Can be configured to use patterns for source and destination branches. Can merge on a certain percentage of approvals of a PR, or a minimum number of approvals.

I'm developer and in company my team send request to our administrators to prepare this solution.

I think that we have own servers and this script should be run on server side every time when pull request were created for specified project by developer.

Thank you for your response. It is better idea to ask Developer Community.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,734 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you