Skip to main content
All CollectionsIntegrations and Trust CenterBitbucket integration
Bitbucket Data Center - How to enable webhooks to Keypup
Bitbucket Data Center - How to enable webhooks to Keypup
Arnaud Lachaume avatar
Written by Arnaud Lachaume
Updated over 3 weeks ago

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
​
Where :client_id is the Client ID of the incoming link you have created in the Bitbucket application links panel to connect Keypup.
​
E.g. assuming your Client ID is someid123 then the URL to enter would be:
​https://connector-bitbucket.keypup.io/webhooks/provider/hosted/someid123

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 Repository:Push event, which is selected by default.

Then tick ALL the events in the Pull Request section:

  • Opened

  • Modified

  • Approved

  • Changes requested

  • Declined

  • Comment added

  • Comment deleted

  • Source branch updated

  • Reviewers updated

  • Unapproved

  • Merged

  • Deleted

  • Comment edited

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.

Did this answer your question?