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

bitbucket auto merge pull request

margiel August 16, 2018

Hi

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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!

Ana

1 vote
Mike Quentel August 25, 2020

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.

0 votes
margiel August 17, 2018

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
TAGS
AUG Leaders

Atlassian Community Events