The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Slack and Bitbucket cloud integration error?

Tamás Soós
April 13, 2020

Hi,

I'm the admin of a Bitbucket Cloud and a Slack workspace. I've installed Bitbucket Cloud app at Slack app manager, and run /bitbucket login to login. At Bitbucket done this: Repo settings -> chat notification settings -> add subscription -> save
After it, if there is any puch, commit, pull-requests I get info about it to the Slack channel I have set.

But one of our users told me this: If he put a Bitbucket link to a slack channel he always gets this message:
"Looks like you've just shared a link to a private repository! To display content from links like that right from Slack, link your Bitbucket Cloud account."

 

What is the problem? How can I solve this?

 

Thank you,

Tom

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2020

Hi Tom!

The user who's having the error hasn't authenticated their Slack account with Bitbucket. The Bitbucket app is trying to resolve the link it sees, but isn't sure if the Slack user has permission to be looking at the repo (because the accounts aren't connected yet).

Luckily the fix is pretty easy - the user just needs to type /bitbucket login in Slack and the app will guide them through connecting their Slack account with Bitbucket.

More reading, if you're interested in how the connector works and the available commands: Bitbucket Cloud for Slack 

Cheers,
Daniel

Tamás Soós
April 15, 2020

Hi Daniel,

 

We will try this. Thank you

 

Cheers,

Tom

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events