To enable real-time updates between Bitbucket Data Center and Keypup, a project administrator must configure a webhook through the settings of each project for which webhooks must be enabled (a project is a top-level structure composed of several repositories).
The steps below require you to have created an incoming link (OAuth provider) in your Bitbucket server to connect it to Keypup. You will need the Client ID
and Client Secret
from this link to identify your webhook with Keypup.
1. Log into your Bitbucket server, click on Projects, and select the project for which you wish to enable webhooks
2. Go to the Project settings section
2. Scroll down and go to the Webhooks section
3. Click on Create a Webhook
4. Use the following details to configure the Webhook
Name | Keypup |
URL | https://connector-bitbucket.keypup.io/webhooks/provider/hosted/:client_id |
Secret | Use the Client Secret of the incoming link you have created in the Bitbucket application links panel to connect Keypup. |
Authentication | None (authentication is handled through request signing using the secret above) |
Events | Untick the
Then tick ALL the events in the Pull Request section:
|
5. Scroll down and click Save to finalize your webhook
After creating this webhook, pull request and comment updates will start flowing into Keypup as they occur in Bitbucket.