-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Highest
-
Component/s: Integration - Webhooks
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.