Importing a repository from a 3rd party source does not work

XMLWordPrintable

    • 6
    • Severity 3 - Minor
    • 11,136

      Issue Summary

      Currently, if you import a repository from (AWS Codecommit or Github) to Bitbucket Cloud using the importing tool, it does not work.
      The page says:

      Your import has failed. For more information, check the log below. You can also try your import again.

      However, cloning the (CodeCommit and Github) repository locally works fine

      Steps to Reproduce

      For AWS CodeCommit repo:

      1. Create a AWS CodeCommit repository
      2. Create/use an existing IAM user with HTTPS credential
      3. Import the repository using Bitbucket Cloud importing tool - https://bitbucket.org/repo/import?workspace=workspace_id
        For Github repo:
      4. Create or use an existing GH repository
      5. Import the repository using Bitbucket Cloud importing tool - https://bitbucket.org/repo/import?workspace=workspace_id

      Expected Results

      The repository will be imported into Bitbucket Cloud

      Actual Results

      Bitbucket Cloud importing tool is not importing the repository

      Workaround

      Create a new repository in Bitbucket Cloud and push the 3rd party repository there.

      git clone --mirror <3rd-party-repo>
      cd <3rd-party-repo>.git
      git remote add bitbucket <new-bitbucket-git-url>
      git push bitbucket --all
      git push bitbucket --tags
      

      Edited: August 20, 2021

              Assignee:
              Stanislav Kudriashev
              Reporter:
              Mark C
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: