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

Importing a repository from another workspace, error with the new app password

Rafael F_ April 4, 2022

It is not possible to import a repository from another workspace anymore, the import process fail even when we use an app password with full access.

11:48:47 git import for: https://repo.git
11:48:47 Cloning https://repo.git...
11:48:47 Cloning into bare repository 'newrepo'...
11:48:47 remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
11:48:47 remote: See our community post for more details:
11:48:47 remote: App passwords are recommended for most use cases and can be created in your Personal settings:
11:48:47 remote:
11:48:47 fatal: Authentication failed for 'https://repo.git/'
11:48:47 Remote Git clone failed: <class 'bitbucket.apps.asyncx.tasks.ImportException'>: Command failed. Return value: 128

2 answers

1 accepted

0 votes
Answer accepted
Rafael F_ April 4, 2022

Nevermind, the problem was not the password, the login needs to be the username and not the actual login.

The username is only seen on the person bitbucket settings and not on the atlassian account settings.

1 vote
Karthick S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2022

Hello @Rafael F_

As per the Bitbucket communication, Atlassian account passwords are deprecated for Bitbucket API calls and HTTPS git activity (clone, push, pull and fetch), and are being replaced by App Passwords.

App passwords are meant to substitute your real account password and are designed to be used for a specific purpose and limited permissions. They can be easily created and revoked when needed.

If you want to check more information about the App Password, you can reference this documentation.

As you have identified, the command expects the username, not the email ID. You can get the username from your personal settings of Bitbucket. 

I hope this helps.

Karthick S

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events