Bamboo linked repository to Stash cannot find Repository

Hi All,

I just upgraded to Bamboo 5.5 and Stash 2.12 and wanted to try the Linking of Bamboo with Stash (new feature). Seems easy right.

However I ran into some problems linking the reposity.

Note. Stash and Bamboo (and Jira) are linked.

When I go to Linked Reposities in the bamboo administration and create a new one the interface defaults to Stash (nice). However it cannot seem to find the reposities, contained in Stash.



Repository could not be found

You don't have permission to see this repository. Bamboo can still access this repository at build time, but simply can't show you any details. Bamboo will continue to work without problems.


This seems odd to me since:

1. I'm using the sys administrator account for bamboo (bamboo-admin group) and stash (stash-admin group) (same username)

2. From what I understand bamboo/stash should figure out the SSH keys themselves. (thats the new feature right).

Any ideas what could cause this? Hercules doesn't report any errors BTW.

4 answers

1 accepted

5 votes
Accepted answer

Figured out what went wrong.

Go to the Application links in Stash and edit the previously setup links.

Then in Outgoing and Incoming Authentication, ENABLE the link for trusted applications.

For some reason this was not setup, causing the premissions issue.

I deleted the application link on both side, and created the link from bamboo to stash (only with oauth). That fixes the problem

I enabled the link for trusted applications and am still getting this error.

Might be actually related to stash being in maintenance mode

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

695 views 5 9
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