-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Component/s: Workspace - Import / Export Repository
-
None
-
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:
- Create a AWS CodeCommit repository
- Create/use an existing IAM user with HTTPS credential
- Import the repository using Bitbucket Cloud importing tool - https://bitbucket.org/repo/import?workspace=workspace_id
For Github repo: - Create or use an existing GH repository
- 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
- mentioned in
-
Page Loading...