Bitbucket Data Center

Version control

Back to listBack

Zulip Bitbucket Data Center integration

Receive Bitbucket Data Center notifications in Zulip!

This guide covers Git webhook notifications.

For Bitbucket Cloud, see the Zulip Bitbucket integration.

  1. Create a bot for Bitbucket Data Center. Make sure that you select Incoming webhook as the Bot type.

  2. Decide where to send Bitbucket Data Center notifications, and generate the integration URL. You'll be able to configure which branches you'll receive notifications from.

  3. On your repository's web page, go to Settings. Select Webhooks, and then click Add webhook.

    To get notifications for every repository in a project, create the webhook in that project's Project settings instead.

  4. Set Title to a title of your choice, such as Zulip. Set URL to the URL generated above, and toggle the Active checkbox. Select the Triggers you'd like to be notified about, and click Save.

You're done! Your Bitbucket Data Center notifications may look like this:

Filtering incoming events

The Bitbucket Data Center integration supports filtering for the following events:

diagnostics:ping, repo:comment:added, repo:comment:edited, repo:comment:deleted, repo:forked, repo:modified, repo:refs_changed, pr:comment:added, pr:comment:edited, pr:comment:deleted, pr:declined, pr:deleted, pr:merged, pr:modified, pr:opened, pr:reviewer:approved, pr:reviewer:needs_work, pr:reviewer:updated, pr:reviewer:unapproved

Use separate bots/URLs for customers. The URL contains api_key; keep it out of public logs. Review channel readership for author identities, comments and commit messages. Bot credentials are separate from BYOK encryption keys. For SaaS, hybrid, on-premises or telecom-operated deployments, coordinate HTTPS routing from the sender to the organization. Cloud needs an accessible endpoint; Data Center may use an agreed internal route. Users separately need repository access. Notifications do not move Bitbucket storage onto your own server. These receivers do not verify X-Hub-Signature HMAC; setting a webhook secret at the provider does not enable verification here or replace the bot API key. IDs are not independently deduplicated; repeat delivery can repeat messages.

JSON eventKey takes precedence over the X-Event-Key header. URL only_events and exclude_events filters use these exact keys or wildcards. branches=main,dev filters exact BRANCH names per changes entry in repo:refs_changed; TAG changes are not excluded. It does not filter PR branches. diagnostics:ping posts a configuration message, not proof of all event types or repository permissions. Legacy route bitbucket3 remains compatible. Data Center pullRequest/changes and Cloud pullrequest/push.changes schemas are not interchangeable.

Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.