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

How to define merge strategy for Pull Request via REST API?

bod14ka
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!
August 29, 2018

I need to merge pull request via REST API using not default merge strategy.

By default i can merge via 
https://SERVER/rest/api/1.0/projects/PROJECT/repos/REPOSITORY/pull-requests/10/merge?version=0 -X POST

3 answers

0 votes
Maciej Adamczak
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2020

Hi all, you can check the official Bitbucket feature request: https://jira.atlassian.com/browse/BSERV-11150

What you can do is to vote and watch this ticket.

Thanks,
Maciej

0 votes
Thomas Kratz
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!
June 10, 2020

I am having the exact same problem using Bitbucket Server 7.1.2.

Without being able to choose the strategy the call is not really usable.

0 votes
nicolaspoisson April 23, 2020

Anyone have an answer for this? It doesn't look like it's possible as of Bitbucket Server 6.10.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Bitbucket Events