Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

0 votes
Answer accepted

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. 

i enabled SSH access in Stash, it is working

I solved this problem fixing the servers date/time

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo - introducing LTS releases

We know that many of you have been asking for Long Term Support versions for Bamboo, as managing large, complex instances can require plenty of lead time and planning to prepare for an upgrade. To ...

318 views 0 8
Read article

Atlassian Community Events