Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Error when import / add a repository from one workspace to another in Bitbucket? Edited

We need to clone repository from another company's. Since their repository isn't public one, I can't use "Add Existing Repository" feature.

So, here is what we did

1. I was invited to the other company's Bitbucket. I only gave my Bitbucket's username and email address to the other company.

2. One additional workspace shown on my Bitbucket workspace list, say this workspace's name is WKSP_A

3. I want to clone repo from WKSP_A to our existing WKSP_OWN. So I am at the project of WKSP_OWN

    a. click on "+" on left panel -> Import Repository

    b. Give the URL from repo at WKSP_A. The URL was copied from WKSP_A repo with syntax https://<my username>@bitbucket.org/<WKSP_A>/<repo name>.git

    c. Fill in my current workspace name WKSP_OWN, project name and repo name that I want in my WKSP_OWN

    d. click on "Import repository", below is the error msg. I am attaching the screenshot of the error msg as well.

(below is text version)

Importing repository

We're getting things warm and cozy for your code.

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

  1. 16:31:39 git import for: https://bitbucket.org/WKSP_A/<repo_name>.git
  2. 16:31:39 Cloning https://bitbucket.org/WKSP_A/<repo_name>.git...
  3. 16:31:39 Cloning into bare repository '<company bitbucket name>/androidapp'...
  4. 16:31:39 remote: Invalid username or password
  5. 16:31:39 fatal: Authentication failed for 'https://<my username on Bitbucket>@bitbucket.org/WKSP_A/<repo_name>.git/'
  6. 16:31:39 Remote Git clone failed: <class 'bitbucket.apps.asyncx.tasks.ImportException'>: Command failed. Return value: 128

1 answer

0 votes
Tyler T Atlassian Team Sep 03, 2020

Are you trying to fork the repository or work directly on the repository?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

485 views 5 4
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