Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webhooks/bitbucketdatacenter: Update the Bitbucket integration docs.

Niloth Pf8fb8ae37342
diff --git a/zerver/webhooks/bitbucket/doc.md b/zerver/webhooks/bitbucket/doc.md
index 423522581e9..11a912f3f39 100644
--- a/zerver/webhooks/bitbucket/doc.md
+++ b/zerver/webhooks/bitbucket/doc.md
@@ -1,17 +1,13 @@
# Zulip Bitbucket integration
+Receive Bitbucket Cloud notifications in Zulip!
+
Zulip supports both Git and Mercurial notifications from Bitbucket.
-!!! tip ""
+!!! warn ""
- If you also configure a [custom profile
- field](/help/custom-profile-fields) for Atlassian Cloud account IDs,
- this integration will refer to Bitbucket users using
- [Zulip silent mentions](/help/mention-a-user-or-group#silently-mention-a-user),
- rather than their Bitbucket display name. See [how to find Atlassian
- account IDs][atlassian-account-id].
-
-[atlassian-account-id]: https://developer.atlassian.com/cloud/automation/resources/how-to-get-user-account-IDs/
+ For Bitbucket Data Center webhooks, see the [Zulip Bitbucket
+ Data Center](/integrations/bitbucketdatacenter) integration.
{start_tabs}
@@ -29,6 +25,17 @@ Zulip supports both Git and Mercurial notifications from Bitbucket.
{end_tabs}
+!!! tip ""
+
+ If you configure a [custom profile field](/help/custom-profile-fields)
+ in your Zulip organization for Atlassian Cloud account IDs,
+ this integration will refer to Bitbucket users using
+ [Zulip silent mentions](/help/mention-a-user-or-group#silently-mention-a-user),
+ rather than their Bitbucket display name. See [how to find Atlassian
+ account IDs][atlassian-account-id].
+
+[atlassian-account-id]: https://developer.atlassian.com/cloud/automation/resources/how-to-get-user-account-IDs/
+
{!congrats.md!}
![](/static/images/integrations/bitbucket/001.png)
diff --git a/zerver/webhooks/bitbucketdatacenter/doc.md b/zerver/webhooks/bitbucketdatacenter/doc.md
index 35066930657..3c6bbdaeb8d 100644
--- a/zerver/webhooks/bitbucketdatacenter/doc.md
+++ b/zerver/webhooks/bitbucketdatacenter/doc.md
@@ -1,10 +1,13 @@
# Zulip Bitbucket Data Center integration
-Zulip supports both Git and Mercurial notifications from Bitbucket. This
-integration is for the webhooks used by Bitbucket Data Center.
+Receive Bitbucket Data Center notifications in Zulip!
-For the new-style webhooks used by Bitbucket Cloud (SAAS service) click
-[here](./bitbucket).
+Zulip supports both Git and Mercurial notifications from Bitbucket.
+
+!!! warn ""
+
+ For Bitbucket Cloud, see the [Zulip Bitbucket](./bitbucket)
+ integration.
{start_tabs}
@@ -15,6 +18,11 @@ For the new-style webhooks used by Bitbucket Cloud (SAAS service) click
1. On your repository's web page, go to **Settings**. Select
**Webhooks**, and then click **Add webhook**.
+ !!! tip ""
+
+ To get notifications for every repository in a project, create
+ the webhook in that project's **Project settings** instead.
+
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
@@ -30,4 +38,8 @@ For the new-style webhooks used by Bitbucket Cloud (SAAS service) click
### Related documentation
+- [Bitbucket Data Center's webhook documentation][bitbucket-webhooks]
+
{!webhooks-url-specification.md!}
+
+[bitbucket-webhooks]: https://confluence.atlassian.com/bitbucketserver/manage-webhooks-938025878.html