i have Atlassian extension setup with a custom site for both Jira and Bitbucket.
the Tickets for Jira do show up in Vscode but for some reason Bitbucket never manages to connect to any repository. i always have "no bitbucket repositories found in this workspace"
The Atlassian extension for VS Code is riddled with inconsistencies between itself and the Bitbucket APIs.
To use personal access tokens with your Bitbucket site, Atlassian says in this article to specify remote URLs using a format like below:
https://x-token-auth:{repository_access_token}@bitbucket.org/{workspace}/{repository}.git
But of course, the Atlassian extension doesn't work at all with URLs of that form. You get "
Using Repository Access Tokens | Bitbucket Cloud | Atlassian Support
The above problem is another reason you may see the message, "No Bitbucket repositories found in this workspace".
What's worse, today suddenly the Atlassian extension stopped offering the option to specify a Personal Access Token in the authentication configuration of your custom Bitbucket site. Now it allows only username/password, which is why I am trying to specify the token in the URL. This extension is constantly breaking in new ways and never being fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Keeping this extension doing its work is frustrating, thats why I stopped using it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
VSCode changed and deprecated git functionality for getting repositories
So the issue should be fixed on Atlassian side
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, no, VSCode is the client, not the service. It's up to clients to support the services they are clients for, it's not up to a service to provide things that they don't want to.
VSCode and/or Github need to fix this, not Atlassian. In this case, there's nothing Atlassian could do, they don't either of the services that have the problem. Bitbucket is stuck in the middle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I went back and installed extension version 2.10.2 which does find my local repositories
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- no actually you are wrong. The extension is using vscode internal functions and they changed. Why it was changed is a different story.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eh? I said the service has not changed, but the client has, exactly as you say too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I noticed that my remotes were configured:
ssh://git@bitbucket.mycompany.com:7999/myrepo.git
so I added another remote with the same url without the "ssh://" git@bitbucket.mycompany.com:7999/myrepo.git
after that I was managed to see the repository in vscode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.