Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-7775

POST service does not provide useful information when merging to a branch (BB-8954)

XMLWordPrintable

      Hi,

      When I merge to a branch, the POST service sends me the following data:
      payload:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      {
       "repository": {
        "website": "",
        "fork": false,
        "name": "august-rest-api",
        "scm": "git",
        "owner": "chrisbk",
        "absolute_url": "/chrisbk/august-rest-api/",
        "slug": "august-rest-api",
        "is_private": true
       },
       "truncated": false,
       "commits": [],
       "canon_url": "https://bitbucket.org",
       "user": "cdow"
      }
      

      The problem is that there is no information about the branch there. I can work around this to suit my needs, but it is a bit silly that there is basically no useful information in the POST. Also, I'm setting this as a bug because the actual behavior is pretty far from the expected behavior and the docs do not explain this.

              Unassigned Unassigned
              a92c926d4165 Chris Dow
              Votes:
              120 Vote for this issue
              Watchers:
              94 Start watching this issue

                Created:
                Updated:
                Resolved: