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.

Error:

***

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

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

https://jira.atlassian.com/browse/BAM-15792

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,741 views 1 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