mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
The change to `render_markdown_path` in `app_filters.py` was required because for bitbucket2, `integrations.name` is `bitbucket2`, which is substituted for the stream name in our Markdown macros. It didn't make sense to recommend the name `bitbucket2` as a default stream name to our users (for them, it's just bitbucket). However, the URL is still `api/v1/external/bitbucket2`.
26 lines
733 B
Markdown
26 lines
733 B
Markdown
Zulip supports both Git and Mercurial notifications from
|
|
Bitbucket. This integration is for the new-style Bitbucket
|
|
webhooks used by the Bitbucket SAAS service.
|
|
|
|
{!create-stream.md!}
|
|
|
|
The integration will use the default stream `bitbucket` if
|
|
no stream is supplied in the hook; you still need to create
|
|
the stream even if you are using this default.
|
|
|
|
{!create-bot-construct-url.md!}
|
|
|
|
{!git-webhook-url-with-branches.md!}
|
|
|
|
Next, from your repository's web page, go to the **Settings**
|
|
page and choose **Webhooks** on the left-hand side.
|
|
|
|
Click **Add webhook**, set **URL** to the URL you created above.
|
|
Remember to click the **'active'** checkbox.
|
|
|
|
Click **Save**.
|
|
|
|
{!congrats.md!}
|
|
|
|

|