Updating pull request returns (400) Bad Request

XMLWordPrintable

      Hi

      I'm making a PUT request to the following url

      https://bitbucket.org/api/2.0/repositories/

      {owner}

      /

      {repo_slug}

      /pullrequests/

      {id}

      with the following content

      #!json
      {
        "title": "TEST",
        "description": "Build status: ![Build status](http://placehold.it/100x30)\n\nOriginal description",
        "destination": {
          "branch": {
            "name": "develop"
          },
          "commit": {
            "hash": "54321fedcba123"
          }
        },
        "reviewers": [],
        "close_source_branch": false
      }
      

      In an attempt to insert an image into the pull request.

      From looking at the following page this is correct

      https://confluence.atlassian.com/display/BITBUCKET/pullrequests+Resource#pullrequestsResource-PUTapullrequestupdate

      There doesn't seem to be any indication of what's wrong.

      Any help would be greatly appreciated

              Assignee:
              Unassigned
              Reporter:
              Legacy Bitbucket Cloud User (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: