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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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.

jiggi21 I'm New Here Jul 19, 2020

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
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,897 views 0 7
Read article

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