youngmon/atlassian-qna huggingface dataset:
All repos missing
Asked by Shadox:

Greetings,  

It seems like all of my repos are missing and I have no idea how or where to even try and get help. It seems like there's no kind of "customer support" for BitBucket apart from suggesting to ask the community (so here I am)  

To explain my situation - I've been using BitBucket for a few years or so, including the time where things had to be migrated between different accounts, so I have like 3 different accounts at BitBucket. I've not done any coding in a while, but most likely the last time was in 2020 or 2021, but when logging in with my 3 accounts, none seem to have any repositories at all. I've checked the "workspace" page and only seem to have 1 (default) workspace, which is completely empty.   

Looking through my eMail inbox (for this account), it seems like the last time I updated my SSH keys / etc was back in 2020, so my guess is that this is most likely the account I was using for my projects, though like mentioned - there's no repos or anything ?  

So I wanted to ask if somebody has any idea what I could do or who (and how) I could contact for help.   

I'm pretty sure that I have some kind of local backup somewhere, but since it's been probably more than a year or two since I've worked on things, I can't really remember what the last thing was I worked on, so I have no idea if the things I have locally are "up to date" or not.  

**\[edit a few hours after posting this\]** I noticed that the missing Repos showed up on SourceTree (since I had used it back when I worked on my projects) and after double checking on the BitBucket website (for that specific account, which isn't this 1), they do seem to appear as well. Though that still seems very strange as I looked at that specific account earlier today (day of posting this) and it was completely empty.   

No idea if the website uses some kind of cache for it or what, but yeah. Just wanted to update this since I don't see any option to delete this post / question.  


Answers:
author: Theodora Boudale
body: Hi [@Shadox](/t5/user/viewprofilepage/user-id/5396429) and welcome to the community!

If you open a workspace with id **some-workspace-id** on Bitbucket Cloud, you get redirected to <https://bitbucket.org/some-workspace-id/workspace/overview/>. On that page, you need to select the link **Repositories** from the menu at the top to see all the repos of this workspace. Is it perhaps possible that you didn't select the **Repositories** option before?

It's good to hear that you were able to find the repos!

Kind regards,  
Theodora


Tags: repository
pipeline - rpc error: failed to pull and unpack image on HARBOR private registry
Asked by Chengxiao Yang:

We've used the harbor private registry for almost a year. Recently the pipeline suddenly reports the following error:

rpc error: code = Unknown desc = failed to pull and unpack image "hub.xxx.cloud/xxx/xxx:main": failed to resolve reference "hub.xxx.cloud/xxx/xxx:main": pulling from host hub.flexiv.cloud failed with status code \[manifests main\]: 403 Forbidden

We've checked the registry locally by pulling the images from the url. It works.

Is anyone else facing the same issue? How can I resolve this error?


Answers:
author: Chengxiao Yang
body: It looks like the private registry is set up with restricted access from the public network.


Tags: bitbucket-cloud

cloud
Wrong license users number when purchasing bitbucket add-on
Asked by Jose Antonio Matute:

Hi, happy 2024!!!  
Previously, my Bitbucket server had a license for 25 users; later, this number was reduced to 10.  
![Screenshot 2023-12-31 at 09.40.09.png](https://community.atlassian.com/t5/image/serverpage/image-id/298476i050DE02FA3EEFBFD/image-size/large?v=v2&px=999 "Screenshot 2023-12-31 at 09.40.09.png")  
The issue is that when I try to pay for the update of the add-ons used in Bitbucket, a license for 25 users is applied.  
![Screenshot 2023-12-31 at 09.50.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/298475iF683B7F3818DB4DA/image-size/large?v=v2&px=999 "Screenshot 2023-12-31 at 09.50.00.png")  
Please, I need your help.


Answers:
author: Melo
body: Hi [@Jose Antonio Matute](/t5/user/viewprofilepage/user-id/4208880),

25 users is likely the minimum tier for the app.

I hope that helps.

Cheers,

Melo


Tags: bitbucket-server

server
Unable to login
Asked by Bert Rell:

Hi,

I tried logging in to bitbucket.org, but could not. I disabled all adblockers, cleared cache and cookies for the site. I think this has happened before, but I was able to resolve without any additional help. It's looking like I may need help now.

Thanks in advance![Screenshot_20231230_202735.png](https://community.atlassian.com/t5/image/serverpage/image-id/298468i3218D93E2E9492C5/image-size/large?v=v2&px=999 "Screenshot_20231230_202735.png")


Answers:
author: Bert Rell
body: Like many before me, I was able to login using incognito mode. I don't recall having to do that in the past, but hey--I'll take it.

Happy Holidays


Tags: bitbucket-cloud

cloud
VSCode Extension not able to see comments in Inline View
Asked by chuber1:

Able to connect to BitBucket cloud just fine. Can see comments exist on the treeview that displays the PR details. However, can't see the comments in VS Code when viewing the reviewing the files. This use to work great. I have upgraded to 3.0.9 version and still an issue.


Answers:
author: Theodora Boudale
body: Hi and welcome to the community!

This is a bug with the newer versions of the extension, the bug is tracked in the extension's repository here:

* <https://bitbucket.org/atlassianlabs/atlascode/issues/5354/comments-do-not-show-up>

You can add your vote to this issue to indicate you are affected and you can also add yourself as a watcher if you'd like to get notified via email on updates.

In the meantime, you could try installing an older version of VSCode and the extension where this feature works:

* <https://bitbucket.org/atlassianlabs/atlascode/issues/5354/comments-do-not-show-up#comment-66114478>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Your account now has more than 30 repositories created today
Asked by Devin Tinsley:

I'm getting this error when migrating our teams repos from my former boss' account to mine for me to maintain. How can I have this cap removed?

My bitbucket url: <https://bitbucket.org/murge_conflict>


Answers:
author: Ben
body: Hi Devin,

This restriction you have described is enabled automatically on all workspaces to prevent spam accounts from mass-creating repositories. As you have a legitimate use case, I have removed this restriction from your workspace.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Pipelines section not visible in Bitbucket repository settings
Asked by Rama Krishna Avanigadda:

Don't see Pipelines section in repository settings to enable and create a new pipeline for deployment.

Please suggest.


Answers:
author: Ben
body: Hi Rama,

Please ensure that you are using a supported browser such as Microsoft Edge, Safari, Mozilla Firefox or Google Chrome.

If you are using a supported browser, ensure you clear cache/perform a browser refresh and then access **Repository Settings \> Pipelines: Settings** and attempt to click the slider to enable pipelines. Please let me know what you see on this screen.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Rama Krishna Avanigadda
body: Hi Ben,

Thank you for your response.

I did try with all the browsers that you mentioned with cache cleared.

Still no luck. Please suggest.


author: Ben
body: Hi Rama,

May I please see a screenshot of what you see in **Repository Settings \> Pipelines: Settings**?

Cheers!

- Ben (Bitbucket Cloud Support)


author: Rama Krishna Avanigadda
body: ![BitbucketRepositoryIssue.png](https://community.atlassian.com/t5/image/serverpage/image-id/298669i08B13D27F6B867D0/image-size/large?v=v2&px=999 "BitbucketRepositoryIssue.png")


author: Ben
body: Hi [@Rama Krishna Avanigadda](/t5/user/viewprofilepage/user-id/4089935)

You are using Bitbucket Server/DC, not Bitbucket Cloud. Bitbucket Pipelines is a Bitbucket Cloud feature.

The CI/CD equivalent for Bitbucket Server/DC is Bamboo, you can find information about Bamboo below:

* <https://www.atlassian.com/software/bamboo>

For any further questions related to Bamboo, please tag this product in a new question as I am not able to provide support on this.

Cheers!

- Ben (Bitbucket Cloud Support)


author: Rama Krishna Avanigadda
body: Thank you Ben. I'll explore Bamboo.


author: Leo Charlie
body: Follow these steps:

1. Open your Bitbucket repository.  
2. Navigate to the left sidebar and click on "Settings."  
3. In the Settings menu, look for "Pipeline settings" or "Pipelines" (this might vary based on Bitbucket's updates).  
4. If you can't find it, check if your repository has a \`bitbucket-pipelines.yml\` file in the root directory. This file is essential for defining your pipeline configuration.  
5. If the file is missing, create one with the required configuration.

If the issue persists, it's advisable to check Bitbucket's documentation for any platform-specific updates or contact [Bitbucket support](https://support.atlassian.com/bitbucket-cloud/)[,](https://cheapmotorcycleshipping.com/) for assistance.


Tags: bitbucket-cloud

cloud
Gradle version : 8.4 for Pipeline, Andriod Build Failed
Asked by Waqas shoukat:

Hi All,  

I want to ask about an solution for andriod pipeline, My pipeline is failing because gradel version required for code is 8.4 and my pipeline as 7.x, I have set the version inside bitbucket yaml file configuration but it's seems the version is not updated or picked as required. Can someone help me on this matter.


Answers:
author: Theodora Boudale
body: Hi [@Waqas shoukat](/t5/user/viewprofilepage/user-id/5394791) and welcome to the community!

If your Pipelines builds run on Atlassian's infrastructure or on a Linux Docker self-hosted runner, these builds use Docker containers. For every step of your build, a Docker container starts (the build container) using the image you have specified in your bitbucket-pipelines.yml file. So, the version of gradle that you see may be the one preinstalled on that Docker image you specify (unless you are installing gradle during the build).

If you are using a public Docker image as a build container, you can check any newer tags of this image and see if any image with a newer tag has a newer version of gradle.

If you have Docker installed on your computer, you can check that by running the command

```
docker run -it?--entrypoint=/bin/bash atlassian/default-image:4
```

where **atlassian/default-image:4** replace with the Docker image you want to check. The entrypoint in the command may need to be /bin/sh instead of /bin/bash depending on the image, but you can try /bin/bash first and if it doesn't work you can then try /bin/sh.

This command will start a Docker container based on this image and a bash prompt when the container starts. In the bash prompt of the container, you can run **gradle --version** to see what version of gradle is installed on that specific Docker image. You can repeat the process for multiple images and/or tags to see what version of gradle they have until you find a suitable one. For example, you can see different tags of the official gradle image here:

* <https://hub.docker.com/_/gradle>

As I mentioned, the above applies to builds that run on Atlassian's infrastructure or a Linux Docker self-hosted runner. If you are using a Linux Shell, MacOS, or Windows runner, these builds run directly on the host machine so gradle probably needs to be updated there.

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to use the same deployment variables for parallel steps?
Asked by Ian Liu Rodrigues:

I want to build \& push two docker images in parallel, like so:

```
pipelines:
  branches:
    develop:
    - parallel:
        steps:
        - step:
            # build and push dockerfile 1
        - step:
            # build and push dockerfile 2
```

But I need the **dev** deployment variables on both steps. How can I achieve this?


Answers:
author: Theodora Boudale
body: Hi Ian and welcome to the community!

You can use a stage for the steps that you want to use the same deployment environment and then use the **deployment** keyword in the stage (instead of in each step). You can see an example on the following page, section **Use Stages for deployments**:

<https://support.atlassian.com/bitbucket-cloud/docs/stage-options/>

Please keep in mind that ++stages do not support parallel steps at the moment++, so you would need to remove the parallelization to make use of this feature.

We have a feature request for supporting parallel steps in stages that you can vote for to express your interest:

* <https://jira.atlassian.com/browse/BCLOUD-22214>

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


author: Bilal Mughal
body: pipelines:  
branches:  
develop:  
- parallel:  
steps:  
- step:  
name: Build and Push Dockerfile 1  
script:  
- export DEV_VARIABLE=your_value_1  
# Use $DEV_VARIABLE in your Docker build and push commands

- step:  
name: Build and Push Dockerfile 2  
script:  
- export DEV_VARIABLE=your_value_2  
# Use $DEV_VARIABLE in your Docker build and push commands

use this code

comments: author: Ian Liu Rodrigues
body: But the values are coming from the Deployment named **dev**, I can't set the variables like that.

What I need is for the **deployment** variables be available in all the parallel steps


Tags: bitbucket-cloud

cloud
How to install Bitbucket repo by branch or commit?
Asked by Thomas Chestnut:

I'm trying to install a repository by either a branch or specific commit hash. [The npm docs](https://docs.npmjs.com/cli/v9/configuring-npm/package-json?v=true#git-urls-as-dependencies) seem to suggest that something like this should work:

```
for a specific branch:
"repo-name": "git+ssh://git@bitbucket.org:OrgName/projectname.git#<branchname>"
```

```
for a specific commit:
"repo-name": "git+ssh://git@bitbucket.org:OrgName/projectname.git#<commithash>"
```

But when I run "npm i --verbose" trying to install by commit hash, the install gets stuck with a 404 for the repo like this:

```
npm http fetch GET 404 https://bitbucket.org/OrgName/projectname/get/<commithash>.tar.gz ?
```

Does anyone know the correct way to install a branch or commit this way?

Thank you in advance!


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

The example templates you provided use SSH connection, while the error message you shared seems to be using HTTP. I suspect there may be some misconfiguration in your package.json.

While I'm not very familiar with npm configuration itself, I found the following articles/threads with instructions on how to setup the npm dependencies to fetch from a bitbucket repository that may be of help :

* [Use Bitbucket for hosting private npm modules](https://steemit.com/programming/@donmesswithabeer/use-bitbucket-for-hosting-private-npm-modules)
* [Private bitbucket repository in package.json with version](https://stackoverflow.com/a/44691596)

You might want to try using the format specified on those pages and let us know how it goes.

Thank you, [@Thomas Chestnut](/t5/user/viewprofilepage/user-id/5391580) !

Patrik S

comments: author: Thomas Chestnut
body: Hi [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) , thanks for response! I'll check out those articles and see if that helps out.

Thank you!


author: Thomas Chestnut
body: Thanks [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) , those discussions helped! Tagging my commit and referencing the tag like this seems to fixed the issue.

```
"repo-name": "git+ssh://git@bitbucket.org:OrgName/projectname.git#<tag>"
```


Tags: bitbucket-cloud

cloud

git

javascript
Stopped receiving email notifications
Asked by Stefan Vuckovic:

Hello,

I stopped receiving email notifications at least when it comes to comments and updates on pull requests.

Other team members are receiving notifications.

Thanks,

Stefan


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

Just adding to [@Cliff Stovich](/t5/user/viewprofilepage/user-id/5380162) 's response, checking internally I see some Atlassian emails were recently bounced back by your email server with the following error :

```
554 5.7.1 [internal] recipient address was suppressed due to customer
```

This made your email be added to an internal suppression list to avoid the Atlassian emails being flagged as spam.

I went ahead and removed your email from the suppression list. If you are still not receiving the email, we suggest contacting your email provider to check if there isn't any blocking in place for the atlassian domain.

Thank you, [@Stefan Vuckovic](/t5/user/viewprofilepage/user-id/5394533) !

Patrik S

comments: author: Stefan Vuckovic
body: Thanks, it works now.


author: Cliff Stovich
body: Have you checked your email notification settings?  
1. Select Your profile and settings ( ) \> Personal settings.
2. Click the Email notifications for issue activity dropdown.
3. Choose Send me email notifications.
4. Select the relevant checkboxes for notifications you want to receive.

If that doesn't work it could be that you're getting emails from an automation rule that has broken.

comments: author: Stefan Vuckovic
body: Thanks for the advice, everything in the settings was fine. It was due to my email ending up on a suppression list.


Tags: bitbucket-cloud

cloud
Urgent: Request for Assistance - Workspace Deletion
Asked by Aryan Jain:

Hi Atlassian Support Team,

I hope this message finds you well. I am reaching out on behalf of our team regarding a critical issue we are currently facing with one of our workspaces. To be precise, the workspace just stopped existing at some point today.

I had created this workspace \[bitbucket.org/aryan-valiance\] a few months ago, and my team used this workspace for some crucial code repositories and important project data. But, around 11:30 am today, Thursday 28 December, this entire workspace had been deleted without any prior intimation on email or any other contact points. At this moment, we are unable to identify the source of this problem. Our priority is to just avoid such a mishap from occurring in the future.

Based on prior support queries, we have restored a lot of our crucial data. However, some really important work has been lost. It is imperative for us to understand how such a deletion could have occurred and, if possible, restore the workspace and its contents promptly. The affected workspace was named \[bitbucket.org/aryan-valiance\].

We kindly request your support in investigating this matter and providing us with any information available regarding the deletion of the workspace. If there are any logs or audit trails that can shed light on how and when this action occurred, it would greatly assist us in addressing this issue.

Moreover, if there are any steps we can take to recover the deleted workspace or its contents, please provide guidance on the necessary procedures.

Thank you for your prompt attention to this request.

Best Regards,  
Aryan Jain  
Lead Generative AI Engineer  
Valiance Solutions  
aryan.jain@valiancesolutions.com  
+919784641000


Answers:
author: Peter Van de Voorde
body: Hi [@Aryan Jain](/t5/user/viewprofilepage/user-id/5394465) ,  

Welcome to the Atlassian Community, unfortunately we're just a community of customers and can't help you with these kind of problems.  

Please reach out directly to Atlassian Support here: <https://support.atlassian.com/contact/>  

Cheers,  
Peter


Tags: bitbucket-cloud

cloud
Branch Discrepancy: "develop" Shows Commits Ahead but No Changes in Source View
Asked by Ali Raza:

develop branch shows N number of commits ahead of master on branches page but when I open develop branch for view the changes, it shows message "This branch does not contain any changes --- check it out on your local machine to do some work."  
but in the commits section it shows 10+ commits.

Note: I merge my Pull Requests using Squash Strategy.


Answers:
author: Harut Avetisyan
body: Dear [@Ali Raza](/t5/user/viewprofilepage/user-id/4787579)

1. It's possible that the commits on the develop branch are not yet merged into the master branch. The "N number of commits ahead" indicates unmerged changes. Check if there's an open pull request or if you need to merge the changes manually.  

Check for any open pull requests related to the "develop" branch.

* If you find an open pull request, review its status and consider merging it if it's ready.
* If there isn't an open pull request, it's possible that changes on the "develop" branch need to be manually merged into the "master" branch.

2. The tool you're using to view changes may not support visualizing squash merge histories effectively. Try using "git diff" or "git log"  

Kind regards,

Harut

comments: author: Ali Raza
body: [@Harut Avetisyan](/t5/user/viewprofilepage/user-id/5371530) thanks for your help, but problem is not solved. below are the more details

1. there is no open pull request.
2. using **git log origin/master** I found that the all commits made in develop are also merged into master (I found last commit (PR#469) of develop in the commit history of master using above mentioned command, which means it is merged into master)  

   then why it is showing me that the develop is 119 commits ahead of master.![p1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/298389i6325F52B36CB0C48/image-size/large?v=v2&px=999 "p1.PNG")![p2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/298390iB914373B95C16EB4/image-size/large?v=v2&px=999 "p2.PNG")


author: Theodora Boudale
body: Hi Ali,

The explanation for this behavior is similar to the other question of yours I replied to earlier:

<https://community.atlassian.com/t5/Bitbucket-questions/Despite-the-merge-the-develop-branch-displays-as-N-commits/qaq-p/2567283#M100378>

If master is your repo's main branch, the Ahead count for develop will show the number of commits that exist on develop and are not reachable from the head of master branch.

If you merged develop into master with squash, the changes were merged into master. However, the commits of develop that you merged with squash still exist on develop and they are not reachable by the head of master branch.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Despite the merge, the develop branch displays as N commits behind the master branch.
Asked by Ali Raza:

I have merged my master branch into develop via a PR, that PR is merged with Squash strategy but develop branch still shows me that it is N commit behind master on branches page.


Answers:
author: Theodora Boudale
body: Hi Ali,

This is expected behavior if you merge with the squash strategy.

The behind count shows you the number of commits that exist on the main branch that are not reachable from the head of the branch you're looking at (develop).

When you merge with Squash, you merge the changes into develop, but the commits you squashed from master still exist on master and they are not reachable by develop. (**edited** because the info I provided earlier was incorrect)

This works similarly with git log.

We have a feature request for changing this behavior: <https://jira.atlassian.com/browse/BCLOUD-19572> The feature request has been closed because it is unlikely to be worked on in the near future. However, you can still add a comment to express your interest, as our product managers continue to monitor closed requests as well.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud