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

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. 

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?

I solved this problem fixing the servers date/time

i enabled SSH access in Stash, it is working

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,069 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot