Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to merge conflict pull requests using api

Горбачев Артем
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!
April 7, 2021

Is there any possible way to merge pull requests with conflicts using Bitbucket api? Or maybe there is a way to resolve conflicts using api?

For example i'm using "git merge -s recursive -X ours" in linux terminal.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2021

Hi @Горбачев Артем and welcome to the community.

I believe that it is not possible to merge a PR with conflicts or resolve the conflicts with an API call, the same way you can do with a git merge command.

If you'd like, I can open a feature request in our issue tracker to provide an option to resolve a conflict with a specific strategy chosen by the user, for our development team to consider. Please feel free to let me know if you'd like me to do that.

Kind regards,
Theodora

Alex.Cohn July 20, 2024

This is exactly what I need! Please add such feature!!

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2024

Hi Alex,

Thank you for the feedback.

I created a feature request for the ability to merge a PR with conflicts using our API:

We already have two similar feature requests for the ability to do so via the UI:

Please make sure you add your vote to the feature requests you are interested in (by selecting the Vote for this issue link in the respective request), as the number of votes helps our product managers better understand the demand for new features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature requests.

Kind regards,
Theodora

Like Alex.Cohn likes this
Alex.Cohn July 30, 2024

Thanks @Theodora Boudale, I believe that when https://jira.atlassian.com/browse/BCLOUD-12935 is ready, my team will be glad to adopt this feature.

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events