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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,119
Community Members
 
Community Events
184
Community Groups

Unable to import git repository to bitbucket repo using rest api

Anil B
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

Please provide a solution to import other git repositories into the bitbucket repo using API.

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2023 • edited

Hi Anil and welcome to the community!

I'm afraid that we don't have an API endpoint for importing a repository to Bitbucket Cloud.

You can import manually from our website, via https://bitbucket.org/<workspace-id>/workspace/repository/import where <workspace-id> replace with the id of the workspace you want to import to.

If you need to import a large number of repos, you could write a script that does the following for each repo you want to import:

We have a feature request for providing an API endpoint for import that you can vote for

(by selecting the Vote for this issue link) to express your interest:

Kind regards,
Theodora

Anil B
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2023

Thank you for the suggestion.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events