Files
zulip/zerver/webhooks/bitbucket3/doc.md
Niloth P 8f564b2053 integration-docs: Update branch filtering instructions.
Updated the Git-related integrations that support branch filtering:
- Removed the branch-filtering configuration option, and its macro.
- Added a new macro that integrates the branch-filtering instruction
with the Generate-URL step.

The new macro `generate-webhook-url-with-branch-filtering` builds off of
the `generate-webhook-url-basic` macro, adding only the branch filtering
instruction. But, it does not re-use the macro, instead duplicates it,
to avoid the newline break that would be added otherwise.
2025-03-05 10:39:13 -08:00

36 lines
1009 B
Markdown

# Zulip Bitbucket Server integration
Zulip supports both Git and Mercurial notifications from
Bitbucket. This integration is for the new-style Bitbucket
webhooks used by Bitbucket Server.
For the old-style Bitbucket webhooks used by Bitbucket Enterprise,
click [here](./bitbucket), and for the new-style webhooks used by
Bitbucket Cloud (SAAS service) click [here](./bitbucket2).
{start_tabs}
1. {!create-an-incoming-webhook.md!}
1. {!generate-webhook-url-with-branch-filtering.md!}
1. On your repository's web page, go to **Settings**. Select
**Webhooks**, and then click **Add webhook**.
1. 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**.
{end_tabs}
{!congrats.md!}
![](/static/images/integrations/bitbucket/004.png)
{!event-filtering-additional-feature.md!}
### Related documentation
{!webhooks-url-specification.md!}