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 comments

nicolaspoisson April 23, 2020

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

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.

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

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events