youngmon/atlassian-qna huggingface dataset:
trouble enabling pipelines on trial -- even with tfa
Asked by Robert Flowers:

I just enrolled in a bitbucket trial. I should have about 50 build minutes, so I am assuming pipelines are supported. My account is setup with TFA, and I have logged out and back in to confirm TFA. The repo settings for pipelines does not allow me to enable pipelines, saying TFA is required. But I am logged in with TFA. Is there some other setting that I need to enable?


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

Does this concern the Bitbucket Cloud account with the same email as your community account?

If so, I can see that 2FA is not enabled for this Bitbucket account, but it is enabled for the Atlassian account with the same email. For Pipelines to be enabled, 2FA needs to be enabled for the Bitbucket account.

You can disable the Atlassian account 2FA here:

* <https://id.atlassian.com/manage-profile/security/two-step-verification>

and then enable the Bitbucket 2FA here:

* <https://bitbucket.org/account/settings/two-step-verification/>

You will also need to set up SSH keys for your account in order to be able to enable Bitbucket 2FA. You will see a message about this in the second link I posted, along with a link to our documentation:

* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/>

Please feel free to let me know how it goes and if you need further assistance.

Kind regards,  
Theodora

comments: author: Robert Flowers
body: Thanks that was the problem. It's confusing that the avatar within bitbucket takes me to the atlassian profile settings but changes were required to the bitbucket profile settings -- i did not realize there were two distinct accounts.


author: Theodora Boudale
body: Hi Robert,

You are very welcome, I'm glad that the issue has been resolved.

Just to give you some context: Atlassian accounts are used for authentication in Bitbucket Cloud and in other Atlassian Cloud products, like Jira and Confluence. This is to provide single login with the same account to multiple Atlassian Cloud products (for users that may use multiple products).

Bitbucket had an existing 2FA implementation before Atlassian accounts were introduced. We have a request in our issue tracker to unify those in order to avoid confusion and the need to enter a 2FA code twice, if both are enabled:

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

Kind regards,  
Theodora


Tags: 2-factor-authentication

bitbucket-cloud

bitbucket-pipelines

cloud
Transfer build artefacts via scp to deployment server from pipelines
Asked by Martin Fischer:

I build a docker image in my pipelines and want to transfer this to my deployment server via scp.

The image is 140MB large, transfer via scp from my computer to the server takes \~10 seconds, however, the bitbucket pipelines takes 10 minutes for 2.6MB .... its sooo slow, why? and how to get around this "bug"(?) ?

KR,

Martin


Answers:
author: Norbert C
body: Hi [@Martin Fischer](/t5/user/viewprofilepage/user-id/4791695)

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! Welcome to the Atlassian Community!

I would like to ask a couple of questions from you so that I have a better understanding of this issue:

* Can you let me know if you're copying multiple small files or just one large file?
* Where is the server located where you copy the image?
* Does your server have a good bandwidth to Amazon?
* Have you tried to copy using SFTP instead of SCP?

Please let us know.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
Is there a way to migrate from stash to bitbucket?
Asked by ???:

I am using the existing stash solution by installing it on my own server.  
I want to move to bitbucket this time, is there any way to migrate them all at once?  
Earlier, I tried to migrate one repository unit, but an ascii character error occurred, so it is impossible to move one by one.

<https://community.atlassian.com/t5/Bitbucket-questions/I-m-trying-to-import-from-stash-to-bitbucket-but-I-m-getting-an/qaq-p/1957559>


Answers:
author: Jeff Thomas
body: I'm unsure if you'll run into a similar error, but you should try out the [Bitbucket Cloud Migration Assistant](https://www.atlassian.com/migration/resources/bitbucket-migration-assistant) tool which can migrate all of your repositories from server to cloud.


Tags: bitbucket-server

migration-customer-care

server
Unable to login to Bitbucket specifically - We couldn't log you in
Asked by Philippe Durand:

We had a JIRA account and it has been working fine, my Atlassian account seems to work when I login and use all other services, however when I am in Bitbucket, it shows me the repositories page, but then either 1 of 2 things happen:

1. I get a Browser Authentication popup, asking me for my username/password, which never works.

2. I get a page that says "We couldn't log you in. You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites"

Please someone help, what can I do to access Bitbucket?


Answers:
author: Caroline R
body: Hi, Philippe, 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 there. So to avoid any possible misunderstandings that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Sleep in Pipelines
Asked by wschult:

Hello,

I have a pipeline that needs to wait until a service was successfully deployed. This will take approximately 30 minutes. My question is, is it generally a good idea to use the sleep function within the pipeline to wait and then look periodically if the deployment was successful or is there a better way to do that? What happens with my "bitbucket build minutes"? Does the time where the process is sleeping count to this?

Best,

Wolfgang.


Answers:
author: Ankit Gupta
body: I think the build minutes are used if you sleep within the pipeline script.

Is the other service deployed via Bitbucket?

If yes, you could consider running the pipeline as a consequent step to the previous service deployment. This will ensure the ordering. If its a different pipeline you can [trigger the other pipeline](https://bitbucket.org/product/features/pipelines/integrations?p=atlassian/trigger-pipeline) via a pipe.

If no, you could [trigger the pipeline](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/?utm_source=%2Fbitbucket%2Fapi%2F2%2Freference%2Fresource%2Frepositories%2F%257Bworkspace%257D%2F%257Brepo_slug%257D%2Fpipelines%2F&utm_medium=302#api-repositories-workspace-repo-slug-pipelines-post) via a POST API after the other service comes up. This would however require a script on the server where the service is running.

comments: author: wschult
body: Thank you for the answer. Is it possible to trigger a pipeline lets say "in 30 minutes"?


author: Ankit Gupta
body: I don't think there is feature in Scheduled Pipelines to trigger after a timeout.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Not able to run pipeline in bitbucket from YAML file
Asked by Shyam:

I have imported the repo from Gitgub to Bitbucket

<https://github.com/soundd2/calculator>

As soon as I imported and after opening the YAML file I am expecting to run the pipeline. Although I enabled pipeline from settings and done full commit I am not seeing any pipeline running. When I click on run below pipeline

![RunPipeLine.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/186596i5A6265CA10EFD203/image-size/large?v=v2&px=999 "RunPipeLine.PNG")![Notfinding.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/186597i61A076A28A10D15D/image-size/large?v=v2&px=999 "Notfinding.PNG")

and other hand what is the way to receive support through screen sharing from your support?

Regards

Shyam.CH


Answers:
author: Norbert C
body: Hi Shyam,

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!

Based on my observation you're trying to run the azure-pipelines.yml file on Bitbucket Pipelines, but unfortunately that's not supported. Bitbucket Pipelines has its own structure, thus we would like to suggest you to create the Pipelines under the bitbucket-pipelines.yml file. You can get started with Bitbucket Pipelines by following the steps here: <https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/>

In case you would like to have a screensharing with Atlassian Support, I would like to suggest you to upgrade to Bitbucket Cloud Premium plan as having a premium plan entitles you to reach out to our Support Team via our ticketing portal.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
How to setup bitbucket so that it will automatically detect an uncompilable code being pushed
Asked by Satya:

Is there a way to setup bitbucket so that it will automatically detect an uncompilable code being pushed and one can't raise a PR?


Answers:
author: Ankit Gupta
body: You could create a [bitbucket pipeline](https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/#:~:text=Bitbucket%20Pipelines%20is%20an%20integrated,in%20the%20cloud%20for%20you.) and configure it to build your code.

You can then configure your branch PR (in settings\>workflow\>branch strategies) to merge only if the build passes.
Where is my repository?
Asked by Henrique Monnerat:

Dear friends,

My account has been dormant and has been reactivated with the help of [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) (thanks!)

The issue I am facing now is that I can't access a bitbucket repository called \<information removed due to privacy reasons\>, which was created by me back in 2012 and is not visible in my account anymore.

When I log in to my bitbucket page, this is what I now see:

![Screen Shot 2022-03-05 at 4.38.52 PM.png](/t5/image/serverpage/image-id/186580iCC442832513E99BA/image-size/large?v=v2&px=999 "Screen Shot 2022-03-05 at 4.38.52 PM.png")

I would appreciate any help to access this repository as it is from a key project I am responsible for.

With kind regards,

Henrique Monnerat


Answers:
author: Caroline R
body: Hi, Henrique, welcome to the community!

I can see that this repository is actually under another workspace that you have access to.

In order to find it, you need to click on your avatar \> **All workspaces** \> open the other workspace you have access to \> there you should be able to see the repository you are looking for.

In case you can't find the **All workspaces** option, you can also access the following link to see the workspaces you have access to:

* <https://bitbucket.org/account/workspaces/>

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

Kind regards,   
Caroline

comments: author: Henrique Monnerat
body: Dear Carolina, Thanks for your answer. I was able to find the "designoteca" workspace.

It has:

* 1 Member
* Last updated 2018-11-28
* "0" repositories inside of it. (What I find strange).

When I click on it, this is what I see:

![Screen Shot 2022-03-15 at 5.25.25 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/188192iDEF64FAB1F9FA9C9/image-size/large?v=v2&px=999 "Screen Shot 2022-03-15 at 5.25.25 AM.png")

The interface looks completely different as well...

Can you please help me understand if there is something wrong?

I was hoping to find my repository inside of it.

With kind regards,

Henrique


author: Caroline R
body: Hi, Henrique, thanks for the additional information.

I confirmed that even though you are the only admin of this workspace, you did not have access to the group that has access to the repository.

In this case, I added you to this group, so you should have received an invitation to join this group. After accepting that, you will be able to see this repo under that workspace.

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 clone any repository using netbeans 8.2 via HTTPS
Asked by Bassant Mossad:

Hello ,

I have an issue when clone any repository using**netbeans 8.2** via **HTTPS** , it give me **Incorrect credentials** error.

I tried to clone different repositories but same error which i have an admin access to it.

I have checked my username and password and it login correct from web.

any help would be appreciated.

Thanks in advance


Answers:
author: Bassant Mossad
body: I just found this announcement:

[https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231?utm_source=dm\&utm_medium=unpaid-social\&utm_campaign=P:online\*O:community\*I:social_share\*](https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*)

the issue solved by replacing the account passwords with app passwords.


author: Kirill Naumik
body: ? netbeans ide 8.2

??????-\>???????????-\>??????? ????????????

? ????? ???????????? ??????

\[remote "origin"\]  
url = <https://xxx@xx.xx@bitbucket.org/workspace/repo>

??

url = <https://username@bitbucket.org/workspace/repo>

???????:

??????-\>?????????-\>??????????

??????????? ????????????

origin:<https://username@bitbucket.org/workspace/repo>

???

??????? ????????????????? ??????????? git

<https://bitbucket.org/workspace/repo>

????????????: username

??????: ????????? ?????? ?? ????????

<https://bitbucket.org/account/settings/app-passwords/>

c Label === repo

? ??????? ??? ????? ???????

Profit, ?????? ?????????? ????????????
Same repository names in different projects
Asked by Martin Fischer:

I have two projects:

\* CompanyAManagement

\* CompanyBManagement

And for both projects, I would have a repository "frontend" and "backend".

However, after I have created the project "CompanyAManagement" and created both repositories in it, I can no longer create repository with the same names in my second project.

What would be the best practice to get along with this issue?

I come from gitlab where I have groups where repos are inside, this is possible there.


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

Currently, this is not possible yet as repositories are identified by workspace-id/repo-name.

However, we already have the following feature requests to include the **project ID to the repository URL**, which would allow you to create two repositories with the same name in different projects:

* [Option to include project ID in repo URLs](https://jira.atlassian.com/browse/BCLOUD-13243)

* [Use project name in repo path instead team name](https://jira.atlassian.com/browse/BCLOUD-14549)

I would suggest that you add your vote there (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.

Kind regards,   
Caroline

comments: author: Carlos Alejandro Hern?ndez Corona
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)

Just for sake of curiosity, does this feature is coming soon?


author: Caroline R
body: Hi Carlos! I would suggest that you ask this question in the feature requests by adding a comment there. This way, the dev team can give you more information about this.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
How do I buy LFS Storage with the Free User Plan?
Asked by Bobby Chill:

Hi, i want to buy additional LFS Storage and keep the Free User Plan, because we are just 2 people using the repository. I managed to find the appropriate FAQ that says:

As a Free plan user, how do I pay for extra build minutes or file storage?  
From the Plan details page, click Change Plan. Under the Free plan option, you'll see the Get more storage and minutes link. Click the link to add your credit card details and confirm you want to start playing for build minutes and file storage. Once you've done that, we'll automatically charge you $10 for an additional 1,000 build minutes and $10 / month for an additional 100 GB of file storage.  

However, in the Plan details page is no "Change Plan" button, only a "Upgrade Plan" one. Do i have to register a credit card for the Change Plan button to show up? Or how do i buy the storage....


Answers:
author: Caroline R
body: Hi, Bobby, welcome to the community!

When selecting **Upgrade plan**, you will be redirected to another page to select your plan. There, if you scroll down, you should see the following option:
> Overage avoids disruption of service if you go over your plan limits. Pay only for what you use at $10/month for 1GB git file storage or 1000 build minutes.
>
> **Add Overage**

I have created the following video to show you where this option is:

* [Video](https://share.getcloudapp.com/d5u9lPB1)

When selecting **Yes, change my plan**, you will be redirected to another page to inform your credit card details and confirm you want to start paying for build minutes and file storage.

Please let me know if this option appears to you and feel free to share any additional questions or concerns regarding this case.

Kind regards,   
Caroline

comments: author: Bobby Chill
body: that helped! thank you very much :)


author: Caroline R
body: Hey, Bobby! I'm glad to know that! :)


Tags: bitbucket-cloud

cloud
How to Increase Bitbucket Webhooks Limit
Asked by Wong Kim Yoong:

Currently I connect my bitbucket to my Azure App Service for continuous deployment. We need to connect to one repo from 50+ App services which requires 50+ webhooks, however the webhooks limitation is 50 per repo.

I saw the answer that I will need to contact support team to override the limits but unable to find any ways to reach out them. Please advise.

Thanks for reading.


Answers:
author: Theodora Boudale
body: Hi [@Wong Kim Yoong](/t5/user/viewprofilepage/user-id/1598222),

I can see one workspace with repos, that is administered by the Bitbucket Cloud account that has the same email as your community account. I went ahead and removed the webhooks limit for that workspace.

Please feel free to let me know if you can create more webhooks now!

Kind regards,  
Theodora

comments: author: Wong Kim Yoong
body: Hi Thanks for the reply.

I have tried and it works as expected. Thanks for your assistance.


Tags: bitbucket-cloud

cloud

webhook
I have a security question about removing instances of my code uploaded outside my repo
Asked by NukeouT:

I have a security question about removing instances of my code uploaded outside my repo  

TLDR found that one of my UpWork contractors was subcontracting the work and reuploading my repo to have others work on it  

I believe this is primarily on GitHub but would like BitBucket to check for copies here as well so that I can find out if any exist and have my IP taken down  

Crazy situation. Thanks for any help


Answers:
author: Nic Brough -Adaptavist-
body: I do not think there is anything that you can do about this with technology.

Github, Gitlab, git itself, Bitbucket and all the other software can't go out scanning the entire internet for illegal uploads of your code. Not without massive processing power and incredibly fast networks.

I'm afraid if you have engaged with someone who has shared stuff they should not have, then all you can do is ask them to stop (backed up with legal things, of course), but this is not a technical question now - your data has been made public and all you can do is question the people who made it so.


Tags: bitbucket-cloud

cloud
use app password from ubuntu instance
Asked by macmiller:

Currently when I make a change I then push it to the bitbucket repository. I was using git to record the changes then push to the repository using 'push -u origin --all'. They are now implements the need to create an 'app password'. I did create an app password with a name, but I am not sure how to set it up on the ubuntu instance. What would I do to get this to work on ubuntu?


Answers:
author: Norbert C
body: Hi [@macmiller](/t5/user/viewprofilepage/user-id/4790381)

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! Welcome to the Atlassian Community!

Can you let me know when you're trying to do a pull/push/any git operation, does your Ubuntu ask you for a password or do you have the password stored somewhere in your system?

In case it's asking for a password, I would like to recommend you to supply the newly created app password.

In case you're using a GUI with your Ubuntu and the password is stored, I'd like to recommend you to check your "gnome-keyring"

Please let us know how it goes, we're here to help.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

password
Need to configure additional TCP port
Asked by Cameron Shove:

We have a need to connect to our Bitbucket 7.2 instance running in Ubuntu 18.04 on an additional TCP port. I entered the following into the bitbucket.properties file, and restarted the server, verified Bitbucket was operational but the port is not listening. We CAN successfully connect on ports 22 and our server port of 7999. Is there another way to do this or am I missing something in this configuration? Thank you.

server.additional-connector.1.port=xyz


Answers:
author: Evan Slaughter
body: Hey [@Cameron Shove](/t5/user/viewprofilepage/user-id/4790865)

Just to confirm - are you looking to add an additional port for connecting to Bitbucket over HTTP, or over SSH? The ports you listed (22 and 7999) are SSH ports - meaning that the "server.additional-connector.1.port" property that you specified, which adds a new HTTP(s) port, won't work for your purposes.

At this time, there's no way to set up multiple SSH ports for Bitbucket to use on the Bitbucket layer. If your team would like to see something like that implemented in the product, I'd recommend raising a suggestion with our devs over at <https://jira.atlassian.com/projects/BSERV/>. Otherwise, your best bet would be to see if you can set up something like a load-balancer or reverse proxy in front of Bitbucket - and then port forward from your desired ports over to your Bitbucket node(s) at port 7999.

* For more information on that last bit, see: <https://confluence.atlassian.com/bitbucketserver/setting-up-ssh-port-forwarding-776640364.html>

Hope this helps!

Thanks,

Evan Slaughter

Senior Support Engineer \| Atlassian Support - Development Tools

comments: author: Cameron Shove
body: Thanks so much for the input, and yes I didn't realize the property I was trying to add was limited to HTTP. I appreciate the response.


Tags: bitbucket-server

server