Easily Integrate Bitbucket Webhooks with your application.
https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html
Steps to receive Bitbucket Webhooks
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Bitbucket. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Bitbucket, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Bitbucket Webhooks Using Javascript
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Bitbucket. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Bitbucket, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Bitbucket webhooks with Hooky in your Javascript based application is straight forward. Just grab the SDK, and call a function when that webhook is received.
Integrating Bitbucket Webhooks Using Ruby
Integrating Bitbucket webhooks with Hooky in your Ruby or Ruby on Rails application is straight forward. Just grab the SDK, and call a method when that webhook is received.
Configuring Bitbucket Webhook Authentication
Here's how it works
Supported Bitbucket Webhook Events
repo:refs_changed
A user pushes one or more commits to a repository.
repo:modified ,
A user updates the Name of a repository.
repo:fork,
A user forks a repository.
repo:comment:added,
A user comments on a commit in a repository
repo:comment:edited
A user edits a comment on a commit in a repository
repo:comment:deleted
A user deletes a comment on a commit in a repository
mirror:repo_synchronized
A mirror has finished synchronizing this repository
pr:reviewer:approved
A user approves a pull request for a repository.
pr:reviewer:unapproved,
A user removes an approval from a pull request for a repository.
pr:reviewer:needs_work,
A user marks a pull request as needs work.
pullrequest:fulfilled
A user merges a pull request for a repository
pr:declined,
A user declines a pull request for a repository.
pr:deleted,
A user deletes a pull request for a repository.
pr:comment:added
pr:comment:added,
pr:comment:deleted,
A user deletes a comment on a pull request.