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
Accepted answer

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 Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

213 views 6 8
Join discussion

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