Linking to Stash from Bamboo: "Selected server has no repositories"

I'm trying to link a Stash (3.1.3) repository in Bamboo (5.5.1). When I select Stash as server, the repositories select box stays empty and I get the error message "Selected server has no repositories".

I have verified that the application links (outgoing and incoming authentication) between Stash and Bamboo are enabled (from both sides). Is there something I am overlooking? Do I have to setup certain repository permissions in Stash?

4 answers

1 accepted

This widget could not be displayed.

Going through several diagnostics steps (as suggested by Ron), my eye finally fell on what was wrong: the application link between Bamboo and Stash was configured to use http instead of https, which caused an http to https redirect when the authentication manifest file was requested. Changing the link to https solved the problem. 

This widget could not be displayed.

For the application links, have you enabled "Trusted Applicatons", "OAuth" (including 2-Legged OAuth and impersonation through 2-Legged), and "Basic Access"?  

It's not documented clearly which one does what, so for safe measure we've enabled them all and linking Stash<->Bamboo works for us.

Also, I suggest downloading a plugin "Application Links Diagnostics" for both Stash and Bamboo.  That helps determine where the unlinked connections are.

Thanks for your quick answer, Ron. Especially the AppLinks Diagnostics add-on is useful. I thought I was still stuck, though, when I saw its outcomes. Until my eye fell on the actual error... see my own answer.

I've enabled all of the authentication settings and got a success using AppLinks Diagnostics tool but end up getting "Selected server has no repositories" message. Any idea?

This widget could not be displayed.

I solved this problem fixing the servers date/time

This widget could not be displayed.

i enabled SSH access in Stash, it is working

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked yesterday in Data Center

Hi! I'm Cameron Deatsch, enterprise enthusiast and Head of Server at Atlassian. AMA!

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...

12,066 views 2 4
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you