Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

In order to connect multiple Slack workspaces to Bitbucket, use the following steps.

1. All URLs require HTTPS

To reuse the Slack app in multiple workspaces, all the configured URL’s are required to use HTTPS. Ensure that your Bitbucket can be reached with HTTPS.

2. Enable Distribution

Go to Slack Apps configuration (https://api.slack.com/apps) and select your Pull Request Analytics app. Then go to Manage Distribution, scroll down and confirm 'I’ve reviewed and removed any hard-coded information'.

Then click Activate Public Distribution. This will not list your app in Slacks App Directory place. It allows other workspaces to use your App. To install the App, the link to the App and Admin permissions on your Bitbucket are still required.

In case you forgot to update all URL's to HTTPS, Slack will tell you which one still need to be updated.

3. Use Link to Install to Workspaces

Use the provided Add to Slack button or links to add the App to other workspaces.

On the permission screen, select the Workspace in the upper right corner and confirm by clicking Allow. You should be redirected to the Bitbucket Slack configuration page, with the Slack workspace connected.

Repeat using the Add to Slack or links to add the app to more workspaces.

Possible Problems

Error: Client must be authenticated to access this resource

After clicking Allow on the App installation screen, you get a ‘Client must be authenticated to access this resource’ error. Your are not logged in Bitbucket as Administrator. Log in as Administrator in Bitbucket first, with the same Bitbucket URL as configured in Slack:

  • No labels