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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Does Bitbucket provides java API for importing a repository ?

url :



  1. Select Create > select Repository from the dropdown menu.

  2. Click Import repository from the Create a new repository page.

  3. Select the Source of the code you want to import.

  4. Depending on the Source, the system asks you to provide the following information:

    • CodePlex: URL, Project name, Repository type

    • SourceForge: URL, Project name, Repository type

    • Git: URL, Username/Password combination for private repositories that Require authorization

      • Note: If your organization has configured a personal access token to retrieve the repository via your Git client or the command line, then you may need to use it in lieu of your username/password within the Bitbucket importer.

  5. Enter a Name for your new repository.

  6. Uncheck This is a private repository if you want the repository to be public.

  7. Select the Repository type.

  8. Expand Advanced settings and fill out the rest of the page if necessary.

  9. Press Import repository.


Does Bitbucket provides java API for creating and importing repository ?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 30, 2022


Bitbucket Cloud doesn't have an API for importing a repository, but we do have a REST API for creating a repo:

After creating an empty repo, you can take a mirror clone of the repo from the other hosting provider and then push the mirror clone to the newly created Bitbucket repo.

If you want to migrate from Bitbucket Server to Bitbucket Cloud, we have a plugin to migrate repos:

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events