mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
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.
36 lines
1009 B
Markdown
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!}
|
|
|
|

|
|
|
|
{!event-filtering-additional-feature.md!}
|
|
|
|
### Related documentation
|
|
|
|
{!webhooks-url-specification.md!}
|