2019-03-03 17:44:33 +01:00
|
|
|
Zulip supports both Git and Mercurial notifications from
|
|
|
|
Bitbucket. This integration is for the 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).
|
|
|
|
|
|
|
|
1. {!create-stream.md!}
|
|
|
|
|
|
|
|
2. {!create-bot-construct-url-indented.md!}
|
|
|
|
{!git-webhook-url-with-branches-indented.md!}
|
|
|
|
|
|
|
|
3. On your repository's web page, click on **Settings**. Select
|
|
|
|
**Webhooks**, and click **Add webhook**.
|
|
|
|
|
2022-03-20 21:30:49 +01:00
|
|
|
4. Set **Title** to a title of your choice, such as `Zulip`. Set **URL**
|
2019-03-03 17:44:33 +01:00
|
|
|
to the URL constructed above, and check the **Active** checkbox. Select
|
|
|
|
the **Triggers** you'd like to be notified about, and click **Save**.
|
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/bitbucket/004.png)
|