Files
zulip/zerver/webhooks/bitbucket2/doc.md
Eeshan Garg 7cfc592202 webhooks/bitbucket2: Migrate docs to Markdown.
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`.
2017-06-05 11:22:05 -07:00

733 B

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!}