youngmon/atlassian-qna huggingface dataset:
Upload bitbucket artifacts
Asked by Vidhya Renuga:

Is it possible to upload bitbucket artifacts to a key base folder?


Answers:
author: Norbert C
body: Hi Vidhya,

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

I would like to inform you that with [Pipes](https://bitbucket.org/product/features/pipelines/integrations) you can upload the artifacts to a remote server to any directory that you wish to.

Please let us know if you have any further question, Vidhya? We're here to help.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud
App password for bitbucket from Rstudio
Asked by G973:

I use bitbucket as a remote depository of R projects and I push and pull from Rstudio.  
I recently have add a message telling me that using an app password will be needed from the 1st March. I have created an App password as explained here: <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>  
I can see it from my bitbucket account online but I must have missed a step because I am not prompted to use this passwork when pushing from Rstudio and I still see the message asking me to activate the app password.

Would someone be able to help ?

Thanks!


Answers:
author: Patrik S
body: Hello [@G973](/t5/user/viewprofilepage/user-id/4758839) ,

Welcome to Atlassian Community.

I've reviewed your case and from my understanding you have created an AppPassword, but your not being prompted to provide it when pushing to your repository.

This behavior is most likely due for you currently having git cached credentials configured in your environment, which probably contains your old account password, and thus is not prompting you to provide a new one.

There are several ways to configure cached credentials in git, either trough credential helpers (which vary between different operating system, like Windows, MacOS and Linux), or the ones implemented by git itself.

That said, my suggestion would be for you trying to clear any possible git credentials cache you currently have on your system :

1. Windows: Navigate to Credential Manager and clear stored credentials related to Bitbucket Cloud.
2. Mac OS X: Navigate to Keychain Access and clear stored credentials related to Bitbucket Cloud

Once you clear the credential cache, you should probably be asked to provide new credentials on the subsequent push/pull to your repository, and when prompted for credentials you can then provide the AppPassword you have already created.

Hope that helps. Let me know if you run into any issues trying the suggestion above.

Thank you [@G973](/t5/user/viewprofilepage/user-id/4758839) .

Kind regards,

Patrik S

comments: author: G973
body: Hello Patrik,

Thank you, it seems to have solved the problem.

Kind regards

G
Why am I not getting bitbucket repo invitation emails?
Asked by jalani.paul:

Hello!

I've just started working for a new company and I have personally witnessed an administrator attempt to invite me to a repository. However, I am not receiving any invitation emails. The invitation emails are not appearing in my spam folder.

I am receiving "Welcome to Bitbucket" emails Atlassian Community emails and my email settings are as open as they can be.

My email address is \<email removed due to privacy reasons\>


Answers:
author: Caroline R
body: Hi, [@jalani.paul](/t5/user/viewprofilepage/user-id/4758616), welcome to the community!

I reviewed your email and confirmed that it had a block on the server that prevented emails from being sent to you. This can occur when the system tries to send an email to the user and the account does not exist, is not activated yet, or rejects the email for some internal reason.

In this case, I have removed the block from your email. Could you please ask your team to **remove** the invitation and send you a new one? They can do this by following the next steps:

In case they have invited you to a **specific repository**:

* Access the workspace \> Go to the repo they have invited you to;

* Access the **Repository Settings** \> **User and group access;**

* Click on the "invitation pending";

* Select the "**Cancel invitation**" option to remove the invitation;

* Add your email again to send a new invitation.

In case they have invited you to a **group on this workspace**:

* Access the workspace \> **Settings**;

* Access **User groups** \> Open the group they have invited you to**;**

* Click on the "invitation pending";

* Select the "Cancel invitation" option to remove the invitation;

* Add your email again to send a new invitation.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
Can?t log in
Asked by Jaime Fernandez de Molina Lovera:

I have an old Bitbucket account which I haven't used for year. Probably, last time I used it was before merging with id.attlassian.com.

Now I need to access it again, but each time I try to login to Bitbucket, I get infamous "We couldn't log you in" page.

It couldn't be some cache issue. I tried to clear everything, I tried incognito mode, I tried freshly installed browser - nothing helps.

So what are my options? Is my old account gone for good?


Answers:
author: Caroline R
body: Hi, [@Jaime Fernandez de Molina Lovera](/t5/user/viewprofilepage/user-id/547570), thank you for reaching out to Atlassian Community.

I confirmed that your Bitbucket account was set as inactive, so I reactivated it. Could you please try to access it now and let me know how it goes?

Looking forward to hearing from you.

Kind regards,  
Caroline

comments: author: Jaime Fernandez de Molina Lovera
body: Solved! Thanks a lot! Quickest response ever!


author: Caroline R
body: Thanks for your confirmation, Jaime! I'm glad to help!

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Bitbucket runner ssh error
Asked by Andrea Sciutto:

Running a pipeline in a self hosted runner, attempting to ssh fails with:

Load key "/tmp/d79ce54a-d006-572e-9d3b-7e5575164e2c/ssh/id_rsa": invalid format  
SSH fails to load the key. Tried different versions of openssh.  
Running the same step via standard runner works as expected.


Answers:
author: Andrea Sciutto
body: not sure what happened but I removed and regenerated the ssh key and now it works.


Tags: bitbucket-cloud

cloud
Azure DevOps CI (push) triggers not working
Asked by milos_cancarevic:

A few days ago, my Pipeline CI push triggers stopped working in Azure DevOps. I've recreated the webhooks in Bitbucket (noticed the change in API version to 7.1) but still doesn't work.


Answers:
author: milos_cancarevic
body: Seems like CI is working again. Check it.

comments: author: Matt Sugden
body: Ours is working again now.


author: oeh
body: Ours seems to be as well. Cheers


author: Scott Rapsey
body: Ours seems to be working now too


author: Matt Sugden
body: Same here. Last Wednesday (9th Feb) was the last time I saw an automatic build in devops.

comments: author: Scott Rapsey
body: Same here, also stopped on the 9th of Feb


author: oeh
body: We are having the same issue, anybody got any ideas on how to fix this?


author: Matt Sugden
body: If none of us have changed anything, but all our pipelines stopped at the same time, sounds like something has changed either in devops or bitbucket, don't know which one though.

I raised an issue with devops services support on Monday, not heard anything back yet.


author: Vasile Sumanschi
body: We are having the same issue. It started happening on 9th Feb.

The pipelines respond to the creation/update of a Pull Request but not the merge of the Pull Request.

The bitbucket webhooks ( that were automatically added by azure devops during the pipeline creation ) appear to be called successfully ( there is a 200 status returned by azure ), however the pipeline is only triggered automatically when a PR is created/updated and not when it is merged.

---

<https://support.atlassian.com/bitbucket-cloud/docs/troubleshoot-webhooks/>


author: Sebastian Brown
body: We are having the same issue. It appears to have started around the 9th of Feb.


author: Pavan Josyula
body: we are facing the same issue only few builds are getting triggered


author: Jayden Maalouf
body: Same issue here.  
Tried copying the Webhook payload and manually triggering the pipeline using the payload - still no dice.  
Something has definitely changed.


author: Alex Billson
body: Having the same issue in our environment, have tried the resolution steps mentioned in this post and I've seen it work once at most. Having to resort to manually kicking off the builds for the time being


author: oeh
body: I've just got my environment to work, I took these steps:

1. Select Pipelines from the left menu
2. On the Pipelines page, click the 3 dots on the right and select "Manage security"
3. At the bottom left under Users is the Build Service user, I selected this and then changed the "Queue builds" option from "Not set" to "Allow".
4. One pipeline seem to work straight away another I had to save it a couple of times but it then started to work.

Hope this works for you.

comments: author: milos_cancarevic
body: It didn't work for me, unfortunately.


author: oeh
body: It is actually really temperamental for me now, sometimes it runs and sometimes it doesn't. It is such a pain in the butt.


Tags: azure-devops

bitbucket-cloud

bitbucket-pipelines

cloud

trigger
Cannot connect to Bitbucket.org
Asked by Yucheng Shang:

I am trying to clone a remote repo from bitbucket.org, but received the following message:

    fatal: unable to access 'https://<username>@bitbucket.org:<username>/my_repo.git/': Cert verify failed: BADCERT_NOT_TRUSTED

It's strange and I'd assume the certificates of bitbucket.org are signed by a CA.


Answers:
author: Ben
body: Hey Yucheng!

I can see that you appear to be having issues connecting to Bitbucket via HTTPS.   
Please try to make usage of an App Password when authenticating if this has not been done already by referring to the following documentation:  
<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

* Essentially, when connecting via **HTTPS** you will use your **App Password** alongside your username separated with a ":" character.
* Therefore if you are authenticating to **GIT over HTTPS** to push/pull you will need to update your remote URL's to include the **App Password** :  
  ***git remote set-url origin <https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git>***
* The same applies when performing git clone:  
  ***git clone <https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git>***

If this still does not work, please share the error message you are receiving. Also, can you please try to authenticate using SSH to see if this makes a difference?

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Bitbucket + DAST tools
Asked by Admin Admin:

hello,

what DAST tools are integrated with the Bitbucket pipelines?


Answers:
author: Mark C
body: Hi [@Admin Admin](/t5/user/viewprofilepage/user-id/4720087)

Thank you for reaching out to the community.

You can actually use any of your preferred tools in Pipelines as long as it is installed in a Docker image you used or it is containerized Docker where you can run it within the Pipelines step container.

When it comes to a DAST tool that can integrate with Bitbucket Cloud, we recently partnered with Snyk in order to implement a security-first mindset when it comes to your repositories.

You can check out this blog post for more information and explore Snyk integration with Bitbucket Cloud Pipelines at the same time. - <https://bitbucket.org/blog/security-code-scanning>

Hope it helps and let me know if you have further questions.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

security
I want All Atlassian product billing comes into same subscription page.
Asked by IDC Engineering India Pvt Ltd:

I already have below Atlassian Product.

Jira Software

Jira Service Management

Bit Buket

But I try to upgrade the Bit Bucket Plan its asking agin my card details.

User Details Not merged with all the places also.

Kindly help to support on this.


Answers:
author: Theodora Boudale
body: Hi [@IDC Engineering India Pvt Ltd](/t5/user/viewprofilepage/user-id/4757941) and welcome to the community.

I'm afraid that it is not possible at the moment to include the billing details of Bitbucket Cloud in the organization billing page at <https://admin.atlassian.com/>.

User management in Bitbucket Cloud is also separate from Jira/Confluence Cloud.

We have existing feature requests for what you are asking:

* <https://jira.atlassian.com/browse/ACCESS-955>
* <https://jira.atlassian.com/browse/ID-6733>

If you'd be interested in these, I would suggest adding your vote in the feature requests (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

subscription

user-management
Pipeline report annotations hiding behind similarly named annotations
Asked by Petrus Hakakoski:

Hello.  

I've build a custom pipe to parse the code coverage for our project, but I'm having some issues with the pipeline report annotations.

For this project we have +150 annotations, which does match with the amount under the report, but for some reason it has put in duplicated annotations of certain classes which share a similar names to each other, instead of the actual classes with lower severity level.

<br />

Example: *lib/database.inc.php* was "HIGH", but instead there is 2x *lib/database_log.inc.php* which is "CRITICAL".

The annotation externalids all have the report name as the prefix with the later half being SHA1 generated string that comes from the filepath + name so for they should all have unique suffix.

I'm certain that they are being POSTed correctly, as I can see them in the pipeline debug messages AND the correct annotation for the classes is highlighted with the correct severity level in the pull requests view, even tho you can't find that class in the report's annotations.  

Any insight into how to fix this issue?


Answers:
author: Petrus Hakakoski
body: Was found to be a bug, where the Pipeline report annotations aren't being fetch correctly when over 100 due to pagination error <https://jira.atlassian.com/browse/BCLOUD-21713>


author: Patrik S
body: Hello [@Petrus Hakakoski](/t5/user/viewprofilepage/user-id/4725937)

Welcome to Atlassian Community!

Reading through the details you have provided, we'll likely need to access your build logs and pull request to understand the behavior you reported.  
Checking our internal tools I've noticed you have access to a workspace in the Standard plan, so in order to further investigate this case, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.  
You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.  
Thanks, [@Petrus Hakakoski](/t5/user/viewprofilepage/user-id/4725937) .  
Kind regards,  
Patrik S


Tags: annotation

api

bitbucket-cloud

bitbucket-pipelines

cloud

report
Can't receive an invitation to a workspace.
Asked by Andrei Radkovich:

Invitation to join dmetrics on bitbucket was went but I didn't receive one to my email \<email removed due to privacy reasons\>.  
Note: my account was disabled for some time.


Answers:
author: Caroline R
body: Hi, [@Andrei Radkovich](/t5/user/viewprofilepage/user-id/4756338), welcome to the community!

I saw that you created a ticket with our support related to the same question and they have already answered you, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Kind regards,  
Caroline


author: Pramodh M
body: Hi [@Andrei Radkovich](/t5/user/viewprofilepage/user-id/4756338)

Here's the reason

<https://community.atlassian.com/t5/Bitbucket-articles/How-to-get-support-for-Bitbucket-Cloud-invitation-and/ba-p/1932959>

Looping [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) for assistance

Thanks,  
Pramodh


Tags: bitbucket-cloud

cloud
Repository size exceeds limit
Asked by Jim van der Laan:

Dear Bitbucket,

<br />

I got the following error message on the Source page of my directory:

Repository size exceeds limit {#toc-hId--1183647633}
----------------------------------------------------

This repository is over the 4 GB limit and your contributors are not able to push new commits. To resolve this, reduce the repository size.

Bitbucket mentions that the size of the repo is currently ++5.14 GB of 4 GB++. However, when running the **git count-objects -Hv**command, it shows me the following output:

```
count: 1
size: 4.00 KiB
in-pack: 65955
packs: 1
size-pack: 101.98 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
```

<br />

I tried to delete the repository on my local and cloned it again, and the size seems to be about 100 mb. Running the count-objects command on any server shows me a similar result, but I can't figure out why we are exceeding the limit.

Repo: \<repo_url_removed\>  

<br />

Thank you in advance,  

Jim


Answers:
author: Theodora Boudale
body: Hi Jim,

I ran a garbage collection on the repository and its size is 2.7 GB now. The remote repo most likely had some dangling commits and needed a git gc for them to be removed. Did you perhaps rewrite history for this repo?

Could you please take a mirror clone of the repo with the command

```
git clone --mirror <repo_url>
```

then run the **git count-objects -Hv** command in that mirror clone and let me know what output do you get?

A git clone command without the *--mirror* flag will only pull the repo's main branch locally and not any additional branches the repo may have.

Just a heads up, I removed the repo url from your post to protect your privacy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

limit

repository

size
how to make all repos in workspace only use self runner
Asked by kaleb mcghie:

is there any way to make all the repos in a workspace to use only self runners or do i have to do it for each step


Answers:
author: Theodora Boudale
body: Hi [@kaleb mcghie](/t5/user/viewprofilepage/user-id/4756868) and welcome to the community.

The **runs-on** parameter is needed in each step that will run on a runner.

I'm afraid there is no other way to automatically configure this, this parameter needs to be added to each step.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How should I use an app password in Windows?
Asked by George Kazantzidis:

Dear Community of Bitbucket.

I have just created a new APP password for my Bitbucket account. I am using a windows device and I am slightly confused. How should I use this password? Should I worry about the windows credential manager ? Also, how can I pass this app password to a git client on windows.

Thank you in advance for your help.

Kind regards, George


Answers:
author: Pramodh M
body: Hi [@George Kazantzidis](/t5/user/viewprofilepage/user-id/4756680)

Welcome to the community ?

Yes, if you could just remove the old credentials and configure the new authentication method using app password that will be better

Please find the ref here

<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords>

After removing the credentials, just clone the repo, the authentication will be interactive!!

Let me know if you have any queries

Thanks,

Pramodh

comments: author: George Kazantzidis
body: Dear Pramodh,

Thank you very much for your reply. Indeed that was very helpful for me.

I now know how to use the APP password when I create a new repository.

However, I still have one question. How can I update the password when I already have an existing clone of the repository. Should I delete my local repository and clone it again? Is there a way to "update" this authentication procedure without cloning again my local repository?

Thank you in advance for your help.

Kind regards,

George
How do I use my app password and what for?
Asked by susanpyne1:

I completely don't understand how I am supposed to use my app password.

When I push to remote I get the message "change the password used in your Git client  
to an app password" for git over HTTPS. I have created an app password but I don't know how to change to it.   
Please could someone give a simple example of what I need to do?


Answers:
author: susanpyne1
body: Thank you. The key point I had missed is that you must remove all existing Bitbucket credentials or it goes on expecting your old (non-app) password. I use both Linux and MacOs and had to work out how to do it for each. After that a push command (for example) requests the new password once and then all seems fine (fingers crossed).

I did not find this key message in the Atlassian docs - but maybe it is there somewhere?


author: Pramodh M
body: Hi [@susanpyne1](/t5/user/viewprofilepage/user-id/2369609)

Going forward, you need to authenticate to your account while cloning repositories or if you need to make API calls, App passwords are used

Please find the full documentation here

<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords>

Let me know if you have any queries

Thanks,  
Pramodh