Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cant add bitbucket cloud repo to bamboo linked repos.

Hi there.  

I have tried all sorts of ways to add my bitbucket cloud repo to my bamboo and nothing works. Like simple stuff doesn't work. Cant add as bitbucket cloud, can't add as a git. It always says there is a problem with either the username or something else. I have spent hours tried to resolve this. I am running bamboo 7.0.4 on ubuntu. I have tried the manual git route with ssh: We couldn't connect to the repository. The details you provided were invalid. With username and password, another issue.

1 answer

Hi @jiggi21 ,


Using Bobswift's Bamboo Command Line Interface, you can add a bitbucket cloud repository as a linked repository as a GIT using shared credentials to your Bamboo instance. Please use the action command as given below.

--action addRepository --repository "Bitbucket Cloud linked repo" --repositoryKey GIT --field "repository.git.repositoryUrl=" --fields repository.git.sshCredentialsSource:SHARED_CREDENTIALS,repository.git.authenticationType:PASSWORD,repository.git.branch:master --credentials "cloud"

Please refer to the page Examples for AddRepository Action for more information.

Let me know if you have any questions. Hope it helps!



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

164 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you