Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
When i create a new branch, the payload i get is :
{"repository":
{"website": "", "fork": false, "name": "mobi-puppet", "scm": "git", "owner": "mobitv", "absolute_url": "/mobitv/mobi-puppet/", "slug": "mobi-puppet", "is_private": true}, "truncated": false, "commits": [], "canon_url": "https://bitbucket.org", "user": "hkadiri"}
When i delete a remote branch, the payload i get is:
{"repository":
, "truncated": false, "commits": [], "canon_url": "https://bitbucket.org", "user": "hkadiri"}
As you can see there's no meaning full information to tell if a branch got created or deleted.
Could the payload be updated to provide more meaningful information. Something like the webhooks for github (https://developer.github.com/webhooks/)