Error API Accept and merge a pull request (BB-14754)

Issue #11895 duplicate
Marcus Barcelos
created an issue

I try merge using API Accept and merge a pull request, but i have the response: HTTP/1.1 400 BAD REQUEST {"error": {"message": "Conflicts during merge."}

If i use the merge button in bitbucket website the merge works without "conflicts".

Comments (7)

  1. Gary Sackett staff

    Hi marcus, Was this a one time occurrence, or do you run in to this with all your merges? If this is a reproducible issue, could you open up a ticket at support.atlassian.com, and our engineers will review.

    Cheers, Gary

  2. Jesse Yowell -- OOO til 11/25 staff

    From the development team:

    This is a bug. It is not using the default commit message for the merge commit when using the API. The fix will be deployed to production by this coming Monday. A workaround is to specify a message in the request you send. The docs are correct in stating that the message field is optional, but for the time being you will need to specify one.

    https://confluence.atlassian.com/bitbucket/pullrequests-resource-423626332.html#pullrequestsResource-Acceptandmergeapullrequest

  3. Log in to comment