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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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!


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.

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.

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

441 views 4 4
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