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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Mirror bitbucket cloud repos to codecommit

Currently we are using mirror hook on bitbucket server to mirror to codecommit and run our pipelines and it appears smart mirroring is only used to mirror BB repos. Is there a mirror hook option option available in BB cloud? Or is it possible to use smart mirror to mirror to other repos?

1 answer

1 accepted

0 votes
Answer accepted

Hi Adel and welcome to the community!

I'm afraid that there is no mirror hook/plugin for Bitbucket Cloud. With Smart Mirroring it is possible to mirror Bitbucket Cloud repos to a Bitbucket Server instance, but it is not possible to mirror to another Git hosting service.

You could make use of Bitbucket Cloud webhooks to receive notifications on push in one of your own servers and then mirror to Codecommit.

Another approach that I've found online would be to make use of Bitbucket Pipelines to mirror content to Codecommit.

The following blog post contains some more info on this and may be useful:

Kind regards,
Theodora

Thanks Theodora. This is really helpful, I will certainly look at the blog post, AWS also supports BitBucket as source for codepipeline using codestar integration (https://aws.amazon.com/blogs/devops/using-aws-codepipeline-and-aws-codestar-connections-to-deploy-from-bitbucket/) which is also an option. It also seems that BitBucket does not allow a service account, the app authorization/app password are tied to an individual account so there might be a challenge with integration. 

Suggest an answer

Log in or Sign up to answer
TAGS
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 ...

2,589 views 1 9
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