youngmon/atlassian-qna huggingface dataset:
I can sign in with my user and pwd to Bitbucket cloud, but not able to clone repository
Asked by Rui Ramalho:

I can sign in with my user and pwd to Bitbucket cloud, but not able to clone repository. I get a notification that my credentials are invalid.


Answers:
author: robertpoor
body: Second this. In my case, I can access the repo via the web page, but when I try to clone the repo (company and repo name are masked):

```
$ git clone git@bitbucket.org:xxxxxxxx/yyyyyy.git
Cloning into 'yyyyyy'...
The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

However, ssh authenticates from the command line:

```
$ ssh -T git@bitbucket.org
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled
```

What else could be wrong?

comments: author: Rui Ramalho
body: The solution for my case was to create a App password and use this new pwd when is prompted in git clone (git clone <https://myuser@bitbucket.org/xxxxxxx/yyyyyyyyy.git>).

Why credentials that were used to login to Web site not work??????....


author: robertpoor
body: I \*partially\* solved my issue: I had a \~/.ssh/config file that was advertising the wrong key file. Fixing that made things work on my Debian VM, but not under Windows.


Tags: bitbucket-cloud

cloud
Private Projects hidden
Asked by Drew Bombard:

We are an agency with many different clients. Each client has their own 'Project' within Bitbucket and within that project are multiple repos. Each Project and each repo are always set to Private. Access is given for our own internal developers on a per-project and per-repo basis.

Sometimes however, our clients need access to their own code that we are hosting for them through our BB account. Recently, granted access for this client into his own project and set of repos. And ONLY his repos.

He responded back saying that he could see *all* our projects (aka clients). The good news is that he was not able to view any of the repos in any of these projects -- those are all completely hidden and inaccessible.

The problem is him being able to see who else we work with. I would have expected a Private Project to maintain the same visible/hidden nature much the same way that repos do.

I tried creating a specific group to assign only him, and still nadda.

Would a better option be to create a workspace for Client X, instead of a project? This creates other logistical problems though. There are webhooks tied to projects and moving them from one workspace to another would break that linkage. Also... it's not often that we have clients asking for access, so they are (by default) setup within our Project/Client process.

Anyway... thoughts? Is it even possible to make a Project *truly* private and invisible?


Answers:
author: Syahrul
body: G'day, [@Drew Bombard](/t5/user/viewprofilepage/user-id/5469307)

Welcome to the community!

Can you check if the user was added to a group that has the following options enabled:

* Can create projects in this workspace
* Can create repositories in this workspace

If yes, could you untick or turn off the permission and let me know if that hides the project from the user?

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud

permission

private

project
How can I pull the cloud BitBucket logs to my syslog server? Is their any API
Asked by Athul Kottila:

Im trying to pull the BitBucket logs to my Syslog server


Answers:
author: Ben
body: Hi Athul,

Are you referring to Bitbucket Server or Bitbucket Cloud? I will need a bit more information as to which logs you are referring to.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How to update a specific branch repo file using api
Asked by rahul kallur:

I checked this API <https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/src>  

whenever i upload the file, it will get created or updated in the main branch only, despite of specifying the branch name  

Below is the example:  
<https://api.bitbucket.org/2.0/repositories/test-node-workspace/node-rest-server/src?branch=dev>  

But its not working


Answers:
author: Patrik S
body: Hello [@rahul kallur](/t5/user/viewprofilepage/user-id/5469090) and welcome to the community.

By default, if not otherwise specified, the commit will be created on the top of the main branch of the repository. If you would like to commit to a different branch, you will need to provide a form-data field with the key **branch**containing the name of the branch to which you want to commit.

Following is an example of using the API to commit a file to a branch named **development:**

```
curl -X POST -u username:app_password https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/src \
  --data-urlencode "/folder/inside/repo.txt=Content of the file" \
  --data-urlencode "message=My commit message " \
  --data-urlencode "branch=development"
```

Could you try with a request similar to the above and let us know how it goes?

Should you have any questions, feel free to ask.

Thank you, [@rahul kallur](/t5/user/viewprofilepage/user-id/5469090) !

Patrik S

comments: author: rahul kallur
body: Thank you, [@Patrik S](/t5/user/viewprofilepage/user-id/4603309)   
It's working


author: Patrik S
body: Awesome! Happy to hear it's working :)

If you ever need help in the future, feel free to reach out to Community!

Patrik S


Tags: bitbucket-cloud

cloud
I am unable to login bitbucket it showing error
Asked by Mohan Reddy:

Hi Team,

I am unable to login in bitbucket it showing error like username already exit and ASCII error.

Could you please help on this..

![A.png](https://community.atlassian.com/t5/image/serverpage/image-id/316257i59DFB5912FF32E4E/image-size/large?v=v2&px=999 "A.png")![B.png](https://community.atlassian.com/t5/image/serverpage/image-id/316258iCA75B154C58E6550/image-size/large?v=v2&px=999 "B.png")

Regards,

Mohan


Answers:
author: Nikola Perisic
body: Welcome to the community [@Mohan Reddy](/t5/user/viewprofilepage/user-id/5468990)

This screen is for creating your Bitbucket account, and the second screenshot is telling exactly that this username exists. So your username needs to be changed in order to be accepted.


Tags: bitbucket-cloud

cloud
how to allow bitbucket ip's on my security group, I tried many atlassian whitlist ip but not working
Asked by blendstestprod:

now my security group is allowed all ip's (0.0.0.0/0) in port 22. but i want allowed only bitbucket ip. i tried lot of atlassian whitlisted ip's but not working. any one please share bitbucket working whitelist ip's.


Answers:
author: Mark C
body: Hi [@blendstestprod](/t5/user/viewprofilepage/user-id/5468827),

Welcome to the community.

To allowlist Bitbucket.org IPs, you can refer to the following link: [IP addresses to allowlist in your corporate firewall](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/).

You may start by allowing the IPs under "**Valid IP addresses for bitbucket.org, api.bitbucket.org, and altssh.bitbucket.org**".

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
How many workspaces are allowed in a premium bitbucket cloud plan?
Asked by Michael Ortiz:

I am working on migrating from bitbucket server to bitbucket cloud. One challenge I'm facing is that we have many duplicate repository names across different projects and bitbucket cloud requires repository names to be unique within a workspace. To address this I was considering using a multi-workspace setup so that projects with repository name collisions could be placed in different workspaces. So I would like to know the following:

1. How many workspaces are allowed in a premium plan?
   1. Is there an extra cost for using more than one workspace?
2. What are the ramifications of using a multi-workspace setup?
3. Is a multi-workspace setup recommended or is a single workspace the generally preferred setup?


Answers:
author: Syahrul
body: G'day, [@Michael Ortiz](/t5/user/viewprofilepage/user-id/5468685)

Welcome to the community!

Bitbucket allows you to create unlimited workspaces, but it's important to remember that each workspace has individual billing.

To illustrate, if you create three workspaces and invite five users to each, you'll be billed for a five-user license for each workspace.

We recommended utilizing a single workspace and dividing users into groups and projects. This way, you only need to pay for one workspace and can manage permissions through grouped and projects.

Regards,  
Syahrul

comments: author: Michael Ortiz
body: Thank you for the clarification.


Tags: bitbucket-cloud

bitbucket-server

cloud

cloud-migration

repository

workspace
SSH Key authentication
Asked by Mikael Lundin:

Hi,

Before I've successfully pushed code to my remote BitBucket repository. Upon "git push" I've used a private password.

Now I've added a new ssh key to my personal settings for the same type of command. The response is "git@bitbucket.org: Permission denied (publickey)" and BitBucket settings indicate the public key is never used.

I've followed the steps in: <https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-linux/>

- `ssh-keygen -t ed25519 -b 4096 -C "{username@emaildomain.com}"`

- ssh-add \<ssh-private-key-name\>

Testing by command "ssh -T git@bitbucket.org" also gives response "git@bitbucket.org: Permission denied (publickey)"

Thanks for help,

Mikael


Answers:
author: Patrik S
body: Hello [@Mikael Lundin](/t5/user/viewprofilepage/user-id/5402539) and welcome to the Community!

It might be the case that you have multiple keys currently added to your agent, so the agent is picking a different key other than the new one you have created.

You can use the following command to list all the ssh keys currently added to the agent:

```
ssh-add -l 
```

and then delete from the agent the keys you don't want, leaving just the new key you have created :

```
ssh-add -d <path to the key to remove from the agent>
```

Once the only key in the agent is the new key you have created, you can try the git command again and check how it goes.

If it's still failing on the authentication, you can try to clone the repository while enabling verbose logs, so git will output in the logs what are the ssh keys that are being attempted:

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:<workspace>/<repository>.git
```

If you want help troubleshooting the verbose logs, feel free to share them with us here (removing any sensitive information) and we can help you to identify what key(s) git is trying to use.

Thank you, [@Mikael Lundin](/t5/user/viewprofilepage/user-id/5402539) !

Patrik S


Tags: bitbucket-cloud

cloud
Azure multi-subscription in pipe azure-web-apps-deploy
Asked by ishetnogferre:

Hi,

Multi subscription is supported in the pipe azure-web-apps-container-deploy, added [here](https://bitbucket.org/atlassian/azure-web-apps-containers-deploy/commits/a4e34ba8006ec232fcb85a66f46fa4ec643de0b5) as per this [discussion](https://community.atlassian.com/t5/Bitbucket-questions/Handle-multi-subscriptions-in-pipe-azure-web-apps-containers/qaq-p/1656691).

We'd also like to use it in [Azure Web Apps Deploy](https://bitbucket.org/atlassian/azure-web-apps-deploy/src/master/README.md) as well

Thanks in advance!


Answers:
author: Igor Stoyanov
body: [@ishetnogferre](/t5/user/viewprofilepage/user-id/5459719) hi. [New version of the pipe](https://bitbucket.org/atlassian/azure-web-apps-deploy/src/1.2.0/) with azure subscription available:  

```
script:  - pipe: atlassian/azure-web-apps-deploy:1.2.0    variables:      AZURE_APP_ID: $AZURE_APP_ID      AZURE_PASSWORD: $AZURE_PASSWORD      AZURE_TENANT_ID: $AZURE_TENANT_ID      AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP      AZURE_APP_NAME: 'my-site'      ZIP_FILE: 'my-package-$BITBUCKET_BUILD_NUMBER.zip'      AZURE_SUBSCRIPTION: 'My Azure Subscription'
```

Sorry for the delay with response.  
Regards, Igor


author: Igor Stoyanov
body: [@ishetnogferre](/t5/user/viewprofilepage/user-id/5459719) hi.  
Thanks for your feature request. We will add this feature to the azure-web-apps-deploy pipe and notify you when new pipe release will become available.  

Regards, Igor

comments: author: ishetnogferre
body: Hi,

Any indication about timing for this feature? Because we're using such a project in production right now and waiting for this to continue, if not in the near future, we'll look into a workaround.

Thanks!


Tags: azure

bitbucket-cloud

cloud
I am not able to find my repositories
Asked by Dragos Ionel:

I haven't logged in to Bitbucket in some time. When I logged in now, all my repositories disappeared. Is there any way to retrieve them?

Thank you


Answers:
author: Patrik S
body: Hello [@Dragos Ionel](/t5/user/viewprofilepage/user-id/1020160) and thank you for reaching out to Community.

By checking for the account from which you posted this question, I see it has access to multiple Bitbucket Cloud workspace, so I suspect you are looking for your repositories at the wrong workspace.

In this case, I would suggest following the below steps to find the repositories :

1. Navigate to bitbucket.org
2. In the top right corner click on your **Personal Avatar**
3. Select **All workspaces.**A list of all the workspaces you have access to will be shown.
4. Click on one of the workspaces to open it.
5. Select the **Repositories** option in the top navigation bar. All the repositories within that workspace will be listed.
6. Repeat Step 3 onwards for the other workspaces you have access to until you find the one that contains the repositories you are looking for.

Hope that helps! Should you have any questions, feel free to ask.

Thank you, [@Dragos Ionel](/t5/user/viewprofilepage/user-id/1020160) !

Patrik S

comments: author: Dragos Ionel
body: Thank you. I checked that, and I still cannot find them.

Did Bitbucket request a paid subscription at any time, and I missed the message?

It was free for a long time, but then I did not use it for at least 5-6 years, and all the reports are gone now.


author: Patrik S
body: Hello [@Dragos Ionel](/t5/user/viewprofilepage/user-id/1020160) ,

Bitbucket always offers a Free plan, and a paid subscription is only required to get additional features/users into your workspace.

I see you have opened an internal ticket with Bitbucket Cloud support and were able to find the repositories in one of your workspaces.

Happy to hear everything has been resolved!

If you ever need help in the future, feel free to reach out to the community.

Thank you, [@Dragos Ionel](/t5/user/viewprofilepage/user-id/1020160) !

Patrik S


Tags: bitbucket-cloud

cloud
Migrating from DevOps to BitBucket
Asked by rajputj3@bv.com:

I need to find a way to bring following from DevOps to Bitbucket:

1. Artifacts Connection Feed - customized NuGet packages

2. Existing Pipelines


Answers:
author: Syahrul
body: Hey [rajputj3@bv.com](/t5/user/viewprofilepage/user-id/5467490)

Welcome to the community!

I highly suggest reviewing our past questions regarding customizing NuGet packages to see if they align with your requirements.

<https://community.atlassian.com/t5/Bitbucket-questions/Use-Azure-Artifacts-with-BitBucket-Pipelines/qaq-p/1575822>

As for migrating the existing pipeline, I need more context. Are you trying to migrate your existing Azure DevOps pipeline to Bitbucket pipelines? If yes, I believe the following documentation can help you as a start:

[Get started with Bitbucket Pipelines](https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/)

Regards,  
Syahrul

comments: author: rajputj3@bv.com
body: Do you have any sample pipelines for Node. js code and .NET Framework C# solution?

I am not able to find a way.

Thanks.


author: Syahrul
body: Hey [rajputj3@bv.com](/t5/user/viewprofilepage/user-id/5467490)

You can check the guides below for Node.js

<https://support.atlassian.com/bitbucket-cloud/docs/javascript-nodejs-with-bitbucket-pipelines/>

As for the .NET framework, we don't support it in the pipeline. In this case, you'll need to use Windows Runner to run them. Please check our documentation below:

<https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/>

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Bitbucket backup policy
Asked by Haymel:

We have a Bitbucket community/academic plan license, my question is: there is a difference between community/academic license and others? or its the same backup policy for all of them? I just find general information: <https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html>

Thanks


Answers:
author: Ben
body: Hi [@Haymel](/t5/user/viewprofilepage/user-id/5467466)

The backup policy applies to users of all tiers (including Free/Academic), there is no difference in backup policy between these tiers.

Essentially, the support team can restore core repository data up to 7 days - this backup data consists of hourly snapshots for point-in-time restoration.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Haymel
body: Thanks.


author: ITHELP
body: How to contact support to know how to take backup for this


author: Ben
body: Hi [@ITHELP](/t5/user/viewprofilepage/user-id/5056326)

Snapshot backups are automatically processed and stored in the cloud on an hourly frequency and cover a period of 7 days, our policy covers this in a post below:

* <https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html>

If you'd like to make a local backup manually, we also have documentation regarding this below:

* <https://confluence.atlassian.com/bbkb/backup-git-repositories-1272284206.html>

If you are encountering data loss issues where you need a repository to be restored, please let us know.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

community
I am not able to create Pull Request.
Asked by nayan khengar:

Anyone who can help here?  
I am not able to create a Pull request to any branch.

It is showing the ![Screenshot 2024-04-02 at 5.43.18?PM.png](/t5/image/serverpage/image-id/315744i78315C1F95C9B581/image-size/large?v=v2&px=999 "Screenshot 2024-04-02 at 5.43.18?PM.png")below error.


Answers:
author: Kseniia Trushnikova
body: Hi [@nayan khengar](/t5/user/viewprofilepage/user-id/5467210),

Is the issue still present? Atlassian Status confirms all Bitbucket systems are currently operational: <https://bitbucket.status.atlassian.com/>


Tags: bitbucket-cloud

cloud
Not receiving forgot code recovery email.
Asked by LouisFvanWyk:

Trying to recover my account but unfortunately I lost my recovery codes. Click on the forgot code link and I send the recovery email but I do not get the email at all.


Answers:
author: Nikola Perisic
body: Hello [@LouisFvanWyk](/t5/user/viewprofilepage/user-id/2272722)

This is because your email was added to the suppression list by the Atlassian.

Reference is here: <https://community.atlassian.com/t5/Bitbucket-questions/Not-receiving-recovery-link-for-bitbucket-account/qaq-p/2634503>

You need to raise a request for Atlassian and ask them to remove you from the suppression list.

comments: author: LouisFvanWyk
body: Hi [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624)  

Thank you for the speedy response.  

Out of interest, how do you know that my email address is on the suppression list?  

Can you point me to where I should raise this request?  

Regards,  
Louis


author: Nikola Perisic
body: Hello Louis,

I know because there were a lot requests before regarding the issue that you are having, where other people had the same issue.

And of course, you can raise your request here: <https://support.atlassian.com/contact/#/>

Make sure that you select the category of Technical issues.


Tags: atlassian

bitbucket-cloud

cloud
Error while trying to create a Crucible-Jira application Link
Asked by L. Schimmel:

Hello everyone,

I successfully linked our Crucible Server to the existing JIRA server via OAUTH. Now every JIRA User exists in Crucible as well. But when I go to Crucible Projects and want to add a Link to a JIRA Project it gives me the error that I can't create a link over anonymous access. <http://i.imgur.com/e5YBrB1.jpg>

But I am Admin in both tools with the same user name.

Do you have any requests?


Answers:
author: lpater
body: Hi Leonard,

Please raise a [support issue](https://support.atlassian.com/secure/Dashboard.jspa), so that we can collect the logs from your instance and assist you further.

Best regards,

?ukasz Pater


Tags: fisheye-crucible-administration
Crucible will OOM if have large commit messages
Asked by Philip Schlesinger:

FYI to all:

If your Fisheye slurps up commits with large commit messages -- and then if those commits are included in a Crucible review -- you might experience an OutOfMemoryError error. This problem is being tracked here:

<https://jira.atlassian.com/browse/CRUC-7341>

There is an easy workaround to truncate the commit messages stored in the Fisheye / Crucible database:

```
UPDATE cru_fr_detailSET cru_value = SUBSTRING(cru_value, 0, 2000)WHERE cru_name = 'comment' AND length(cru_value) &gt; 2000
```

MySQL version:

```
UPDATE cru_fr_detail SET cru_value = SUBSTRING(cru_value, 0, 2000) WHERE cru_name = 'comment' AND char_length(cru_value) &gt; 2000
```

Please vote for <https://jira.atlassian.com/browse/CRUC-7341>

Thanks


Answers:
author: Philip Schlesinger
body: Answered in above message


Tags: fisheye-crucible-administration
Can't edit Crucible user groups that are imported from Jira
Asked by L. Schimmel:

Hi,

I successfully imported All Users and Groups from our JIRA server to our new Crucible Server.

But now when I want to edit the groups (Add users), I don't see the necessary buttons.

Do you have any suggestions how to solve this? I added two screenshots of a group created in crucible and a improted group to clarify the issue.

Best regards

<http://imgur.com/a/jbKgh>


Answers:
author: gustavo_refosco
body: Hi Leonard,

External groups and users in Crucible are, in fact, read-only, which is why you can't edit your groups that come from JIRA.

That being said, in case you want to add new users to a group coming from JIRA, these users must be in JIRA and they must be added to the group in JIRA side, and then synchronized into Crucible.

Regards,

Gustavo Refosco


author: Benito Picarelli
body: Hi Leonard,

Are you accessing Crucible with a user that has admin rights? Please check this page: <https://confluence.atlassian.com/crucible/administering-crucible-298977487.html>


Tags: fisheye-crucible-administration
Is it possible to convert review comments into task list?
Asked by Vladislav:

Is it possible to convert review comments into task list?


Answers:
author: Marek Parfianowicz
body: While Crucible don't have typical task list, you can also mark comments as defects. You can also mark/unmark them as read. You can also create a JIRA issue from a comment.

comments: author: JB
body: How / where is this done? I can't find any options in the Fisheye comment for making it into a JIRA issue.


author: Marek Parfianowicz
body: Create a comment and save it. After the comment is saved there's a 'Create issue' link.


author: Grzegorz Lewandowski
body: Hey,

Since Crucible 3.9 there's new function called Review Activity, which lists all comments made on the particular review, you can learn more about it [here](https://confluence.atlassian.com/crucible/crucible-3-9-release-notes-765397623.html). You probably can use it as task list.

Cheers,

Grzegorz Lewandowski