youngmon/atlassian-qna huggingface dataset:
I have bitbucket cloud and use Unity Cloud Build...what changes are needed to my Unity Cloud Build?
Asked by KevWill:

Unity is the biggest engine around...yet Atlassian has not provided direct info about what we are to do (or not do) with respect to our Unity Cloud settings.

HELP!!!

This is beyond confusing for far far far topo many people.

Kevin


Answers:
author: Theodora Boudale
body: Hi Kevin,

Unity Cloud Build is not built by Atlassian. We cannot maintain documentation for a product developed by a different company.

Unity provides documentation on how to configure Build Automation for Git repositories, including Bitbucket Cloud:

* <https://docs.unity.com/devops/en/manual/build-automation-settings#configure-build-automation-for-git>

If you have any questions specific to Bitbucket Cloud, you are more than welcome to ask here.

If your question is specific to Unity Cloud settings, it may be best to post in the Unity forum or reach out to the support team:

* <https://unity.com/help>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Cannot view source files from Bitbucket website-- error message displays
Asked by Cullon:

Hello,

I have a few repositories on Bitbucket and cannot view the source code at all from Bitbucket's site. Branch history persists, but no code history exists within any branches.

I'm afraid to perform a git pull in case there are issues with the remote repo.

The same behavior persists across all my repos.

--UPDATE--

It appears that the source code viewer fails to load on Chrome but works on other browsers


Answers:
author: Syahrul
body: G'day, [@Cullon](/t5/user/viewprofilepage/user-id/5251307) and Welcome to the community!  

Based on the update you shared, I suspect you may have an add-on in your Chrome browser that is preventing the code viewer from loading properly.

I suggest starting by looking into any ad-blocker, JavaScript block, or anything related to something that may be blocking or disabling those features. Try disabling them temporarily to see if that helps resolve the issue.

Let me know how it goes.

-  
Syahrul

comments: author: Cullon
body: Thank you for the support


Tags: bitbucket-cloud

cloud
Can't change user group permissions for a repository
Asked by olegdev:

Hi

The manual states that on the groups page (workspace/settings/groups/\<group-name\>) one can select permissions level from a dropbox ([source](https://support.atlassian.com/bitbucket-cloud/docs/grant-repository-access-to-users-and-groups/)). But I don't have a dropbox - only a read-only field "Read" in the "Permissions" column.

As a result, the users in the group have read-only access.

How to fix it?

Thanks


Answers:
author: olegdev
body: Found it - it can be changed in the settings of the respective repository


Tags: bitbucket-cloud

cloud
Permission denied for public key (with ecdsa or ed25519)
Asked by Sam Jaques:

I was able to connect before and my host key info seems correct:

$ ssh git@bitbucket.org host_key_info  
You are using host key with fingerprint:  
ecdsa-sha2-nistp256 SHA256:FC73VB6C4OQLSCrjEayhMp9UMxS97caD/Yyi2bhW/J0

*** ** * ** ***

I followed the full page here again:  
<https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-windows/>

Still I'm unable to use my public key:  

$ ssh -T bitbucket.org -v  
\*\*\*REDACTED\*\*\*


Answers:
author: Ben
body: Hi Sam,

I've opened a support ticket on your behalf - please check your email and I will assist you further there.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
can not push changes
Asked by lelic:

configured new SSH keys after bitbucket last recommendations in email   
i have issue when try to push my changes

<br />

*Pushing to bitbucket.org:\<ws\>\<repo\>.git*

*Unauthorized*

*fatal: Could not read from remote repository.*

*Please make sure you have the correct access rights*

*and the repository exists.*

*Completed with errors, see above*   

<br />


Answers:
author: Theodora Boudale
body: Hi [@lelic](/t5/user/viewprofilepage/user-id/1893506),

Are you referring to the changes announced in the following blog post?

* <https://bitbucket.org/blog/ssh-host-key-changes>

If so, please keep in mind that this change does not require you to change the SSH keys you have already set up for your account, workspace, project, or repos. You can continue using the SSH keys you had already set up, but it shouldn't be a problem if you generated a new SSH key pair.

Our recommendation in the email was to configure your SSH client to use either the ECDSA or the Ed25519 host key of Bitbucket Cloud (this is not related to the SSH keys you have set up for your account). The host key of a server (in this case, Bitbucket Cloud), is used to establish the authenticity of that server.

The "Permission denied" error is not related to the host key change, it means that your private SSH key is not being offered when you ssh to bitbucket.org.

You can create a file named **config** in your \~/.ssh folder and add the following content:

```
Host bitbucket.org
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa
```

where **id_rsa** replace with the name of your private SSH key, whose public key you have added to Bitbucket.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to specify destination filename with atlassian/aws-s3-deploy
Asked by Scott Mankowitz:

When I save my build to amazon S3, I'd also like to set up a "latest" directory which contains a copy of the current build (A symlink would be better, but not supported on s3)


Answers:
author: Igor Stoyanov
body: [@Scott Mankowitz](/t5/user/viewprofilepage/user-id/5250836) hi. Thanks for your question. According to pipe README:  

S3_BUCKET: S3 bucket name or path-like directory structure.  
LOCAL_PATH: Local path to folder to be deployed.  

Please, add more details if this is not what are you looking for.  

Regards, Igor


Tags: aws

bitbucket-cloud

bitbucket-pipelines

cloud
Disallow merge strategy
Asked by Mateusz Parzyszek:

Hi, is there any way to force users to Fast Forward merge strategy only?

As far as I remember on sever version we were allowed to disable other merge strategies, but I cannot find this setting on repository or project level settings.


Answers:
author: Theodora Boudale
body: Hi Mateusz,

I'm afraid that this is not possible at the moment. You can set a default strategy either from Repository settings or from Project settings and this strategy will show then by default when someone tries to merge. However, it is not possible to prevent users from selecting a different strategy.

We have a feature request for what you are asking in our issue tracker:

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

I would suggest adding your vote (by selecting the **Vote for this issue** link) to express your interest. 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,  
Theodora


Tags: bitbucket-cloud

cloud
Cannot able to push to Bitbucket ? Already changed ssh key twice
Asked by Rajrup Das:

Hi I have changed the ssh key already twice but i cannot able to push to the bitbucket and it's seems to be very slow from India . I am working on a 1 Gbps network Bitbucket website is very slow and laggy .

Most of the problem is that I cannot able to push to bitbucket via ssh

I have changed ssh key twice as of now (after the ssh key rotation migration was over by bitbucket). with the same ssh key i can able to push to other Code hosting sites like my own Gittea server.

Can someone please help me to solve the issue?


Answers:
author: Mark C
body: Hi [@Rajrup Das](/t5/user/viewprofilepage/user-id/5245976),

Welcome to the community.

Would it be possible for you to provide the error message you're getting when you try to push?

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Migrating bitbucket to github along with its active PRs and their corresponding comments
Asked by Soumik Mukherjee:

Hi Community,

I am currently doing a basic POC (proof of concept) before moving onto the actual project.

The project basically has the idea, that we need to migrate the entire codebase from Bitbucket to Github including all the pull requests and their corresponding comments.

As a first step, I have mirrored the Bitbucket repo to Github including all the active commits and branches.

Now, in the next step, I want to fetch all the active pull requests from the current Bitbucket repository locally, so that I can later on push them to the Github repo.

Suggest the steps to achieve this.

Thank you!


Answers:
author: Theodora Boudale
body: Hi Soumik,

Pull requests are not saved as references in Bitbucket Cloud repos at the moment.

We provide several API endpoints to get info associated with pull requests:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-group-pullrequests>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

github

migration
bitbucket pipeline support windows image?
Asked by Darshan Rajput:

i am trying to create bitbucket pipeline for asp.net Mvc code but Msbuild is not supported in bitbucket


Answers:
author: Mark C
body: Hi [@Darshan Rajput](/t5/user/viewprofilepage/user-id/5250566),  

Welcome to the community.  

Unfortunately, we don't support native Windows .NET images on Bitbucket Cloud Pipelines.  
However, we've recently released the feature called [Bitbucket Cloud Pipelines Windows Runners](https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/) which will allow you to run your native Windows builds on your self-hosted machine.

Regards,  
Mark C


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
How to fix pop-up message in pull requests.
Asked by Nikola Orlovski:

![PullRequests.PNG](/t5/image/serverpage/image-id/264426iCC71225DB5DA8381/image-dimensions/506x349?v=v2 "PullRequests.PNG")  
There is a screenshot from the error i got when I'm trying to open pull request from bitbucket repository ,any ideas how to stop displaying it every time . It's really annoying. We got it after upgrading Bitbucket.


Answers:
author: Christian Glockner
body: Hi Nikola,

My hunch would be that this is coming from a third-party app you have installed, so I would suggest disabling them one by one until you identify the culprit and then checking with the vendor of the app to see if a newer version is available.  

Cheers,  
Christian  

Premier Support Engineer  
Atlassian

comments: author: Ulrich Kuhnhardt _IzymesCo_
body: Just out of interest - which app was the culprit? If it was [Workzone](https://marketplace.atlassian.com/apps/1211303/workzone-pullrequest-workflow?hosting=datacenter&tab=overview) please let me know.

Best Ulrich

// [Izymes](https://marketplace.atlassian.com/vendors/1210584/izymes-pty-ltd)


Tags: bitbucket-server

server
Bitbucket 8 on Windows
Asked by Daniel Schillig:

Hello,

my customer asks for a Bitbucket installation on a Windows platform. There is no download option to be found for v8.

My question:

Will Bitbucket be available in 8, or, did the support for the Windows Plattform stop for any reason?

Thank you!


Answers:
author: Daniel Schillig
body: Windows is not supported from v8 onward.


Tags: bitbucket-server

server
How to merge the code from one branch to another using commands
Asked by Suresh thogari:

will you provide the commnads to merge from one branch to another using commands and if there is any conflicts i would like to override from source to destination branch so there should not be any manual conflict resolution should required.

please provide that is the way to achieve this.


Answers:
author: Theodora Boudale
body: Hi Suresh,

If you want to merge **source-branch** into **destination-branch** locally, you can do the following:

```
git checkout destination-branch
```

If you want to keep the version of the files in the source branch, in case of conflicts, you can then use:

```
git merge --strategy-option theirs source-branch -m "merge commit message"
```

If you want to keep the version of the files in the destination branch, in case of conflicts, you can use the following instead:

```
git merge --strategy-option ours source-branch -m "merge commit message"
```

You need to replace **destination-branch** and **source-branch** in the commands with the respective names of your branches, and also replace **merge commit message** with your own commit message for the merge commit.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Host Key Problem
Asked by Dale.Carter:

Hi,

I read the warnings regarding the host key rotation. I checked the keys on my machine and everything looked fine.

The following article is not helpful.

[ACTION REQUIRED: Update your Bitbucket Cloud SSH Host Keys - Bitbucket](https://bitbucket.org/blog/ssh-host-key-changes)

I don't know how to resolve the problem I am having now that the Host Keys have rotated and I can no longer communicate with BitBucket either through IntelliJ or the cmdline.

Please note I am using a Linux (CentOS) based machine.

Can someone provide guidance for how I can reestablish communication with bitbucket.


Answers:
author: Theodora Boudale
body: Hi [@Dale.Carter](/t5/user/viewprofilepage/user-id/5250124),

It's good to hear that things are working from your work network.

I just wanted to add a quick note here, for any other users that may come across your post:

++**There is no need for users to change the SSH keys they have already set up for their account, workspace, project, or repos. You can continue using the SSH keys you had already set up.**++

Our recommendation is to **++configure your SSH client to use either the ECDSA or the Ed25519 host key of Bitbucket Cloud++** (this is not related to the SSH keys you have set up for your account). The host key of a server (in this case, Bitbucket Cloud), is used to establish the authenticity of that server.

If you are using OpenSSH or a compatible client, the blog post has more details about the change and what you need to do.

We also have the following FAQ page that covers questions about some other SSH clients and common issues:

* <https://confluence.atlassian.com/bbkb/bitbucket-cloud-ssh-host-key-rotation-faq-1235851234.html>

Kind regards,  
Theodora


author: Baskar Annamalai
body: Hi Dale,

I believe you still have access to your Bitbucket Cloud via browser, otherwise, reach out to the Bitbucket Cloud Support team via <https://support.atlassian.com/contact/#/>

Basically, you would need to replace your current RSA or DSA SSH host key with the ECDSA or Ed25519 SSH host keys based on the warning post.

You can follow up with the following steps:

* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-linux/>

The ssh keys can be generated with the following command:

* <https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/#SSH-Client-Keys>

Best regards,  
Baskar Annamalai  
ServiceRocket.

comments: author: Dale.Carter
body: Thanks for the reply.

I am happy to say I am wrong. My setup uses a virtual machine for the Linux environment and for some reason being at home on a wifi network was causing issues. As soon as I came back into work and connected via ethernet. Run the cmds again it all worked.


Tags: bitbucket-cloud

cloud
Container 'Build' exceeded memory limit.
Asked by Dheeraj Varshney:

I am geeting

Container 'Build' exceeded memory limit.

I added size 2x also same error..


Answers:
author: Theodora Boudale
body: Hi Dheeraj, and welcome to the community.

You can add the following commands in your bitbucket-pipelines.yml file, at the beginning of the step that fails with memory issues:

```
- while true; do date && ps -aux && sleep 5 && echo ""; done &
- while true; do date && echo "Memory usage in megabytes:" && echo $((`cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes | awk '{print $1}'`/1048576)) && echo "" && sleep 5; done &
```

These commands will print memory usage during the build and they can help you figure out which processes consume a lot of memory and see if you can configure them to use less.

The maximum memory that can be configured for a Pipelines build in our own infrastructure is 8GB with the size: 2x option.

If you cannot configure your build to use less memory than that, you can look into using Runners in one of your servers and run this step on a runner:

* <https://support.atlassian.com/bitbucket-cloud/docs/runners/>

Runners allow you to run builds in Pipelines on your own infrastructure, and you won't be charged for the build minutes used by your self-hosted runners. With a runner, it is possible to configure up to 32GB (8x) of memory to run your builds, if your server has that memory.

We have a feature request for the ability to increase the memory beyond 8GB for Pipelines builds that run in our infrastructure, you can vote for it to express your interest:

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
As cascading merges are not natively supported in Bitbucket Cloud, is there a recommended workaround
Asked by Rory McEntee:

My org uses a multi-branching strategy that could benefit greatly from cascading merges. As [cascading merges](https://confluence.atlassian.com/bitbucketserver/cascading-merge-776639993.html) are not natively supported in Bitbucket Cloud, is there a recommended workaround that anyone can recommend?


Answers:
author: Saxea _Flowie_
body: Hi [@Rory McEntee](/t5/user/viewprofilepage/user-id/5249732),

[Flowie](https://flowie.app/), our Bitbucket addon, now has built-in support for [branch cascade/auto branch merging](https://flowie.app/docs/en/plugins/merge-cascade), along with labels, draft, pull request size and more!

<https://marketplace.atlassian.com/apps/1231101>


author: Theodora Boudale
body: Hi Rory and welcome to the community.

We have customers that are using Bitbucket Pipelines or another CI/CD tool in order to either create PRs via API or merge branches, depending on the requirements.

Some of them have posted in the open feature request, e.g.:

* [https://jira.atlassian.com/browse/BCLOUD-14286?focusedId=2250507\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2250507](https://jira.atlassian.com/browse/BCLOUD-14286?focusedId=2250507&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2250507)
* [https://jira.atlassian.com/browse/BCLOUD-14286?focusedId=2250493\&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-2250493](https://jira.atlassian.com/browse/BCLOUD-14286?focusedId=2250493&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-2250493)

You can take a look if you want to implement a similar solution.

Since you'd be interested in this feature, I would also recommend adding your vote to the feature request (by selecting the **Vote for this issue** link) to express your interest. 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.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do I stop Login dialog box popping up
Asked by Shaun Cummins:

I'm trying to connect SourceTree to Bitbuck with username and password but it SourceTree keeps popping up with this dialog box.

I cannot post it here but it's got:

- "BitBucket Login" in the title

- Atlassian/BitBucket/SourceTree

- Email or username

- Password

- Login and Cancel button

- Need an account? Sign up

- Forgot your password?

I've managed to get it working on a second PC but this one isn't happy.

Any ideas?

Many thanks

Shaun Cummins


Answers:
author: bgannin
body: Hi [@Shaun Cummins](/t5/user/viewprofilepage/user-id/2738117),

What version of Sourcetree are you using? What platform (OS) are you on?

Brian Ganninger  
Principal Developer, Sourcetree
???????
Asked by tgkefu:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Ad'min/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE" push -v --tags --set-upstream origin master:master  
C:/Users/Ad'min/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE get: -c: line 0: unexpected EOF while looking for matching \`''  
C:/Users/Ad'min/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE get: -c: line 1: syntax error: unexpected end of file

C:/Users/Ad'min/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE store: -c: line 0: unexpected EOF while looking for matching \`''  
C:/Users/Ad'min/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE store: -c: line 1: syntax error: unexpected end of file

Pushing to <http://192.169.69.167/wenzi/me.mr.git>  
To <http://192.169.69.167/wenzi/me.mr.git>  
= \[up to date\] 2019.02.11 -\> 2019.02.11  
! \[rejected\] master -\> master (non-fast-forward)  
error: failed to push some refs to '<http://192.169.69.167/wenzi/me.mr.git>'  
hint: Updates were rejected because a pushed branch tip is behind its remote  
hint: counterpart. Check out this branch and integrate the remote changes  
hint: (e.g. 'git pull ...') before pushing again.  
hint: See the 'Note about fast-forwards' in 'git push --help' for details.


Answers:
author: Ana Retamal
body: Hi, welcome to the Community!

Please note that we can not offer support in Chinese, so I'll try to help you in English.

You can find the solution to this error at the bottom of your message:
> Updates were rejected because a pushed branch tip is behind its remote counterpart. Check out this branch and integrate the remote changes (e.g. 'git pull ...') before pushing again. See the 'Note about fast-forwards' in 'git push --help' for details.

Can you try that and let us know if it worked for you?

Best regards,

Ana
How do I use github version control on Eclipse projects with SourceTree?
Asked by kongames:

I want to use eclipse to build JAVA projects


Answers:
author: bgannin
body: Hi [@kongames](/t5/user/viewprofilepage/user-id/3143986),

I'd recommend checking out our excellent [getting started documentation](https://confluence.atlassian.com/get-started-with-sourcetree). There may be a few minor differences as we've improved the app but hopefully it's enough to begin your code management journey.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree
Login failure during Registration step of SourceTree for Mac installation
Asked by Mackmilan Selva:

I get "Login Failure" message using my Atlassian credentials that work on this portal.![Screen Shot 2019-05-11 at 10.35.27 PM.png](/t5/image/serverpage/image-id/54240i85B805681F521817/image-size/large?v=v2&px=999 "Screen Shot 2019-05-11 at 10.35.27 PM.png")


Answers:
author: bgannin
body: Hi [@Mackmilan Selva](/t5/user/viewprofilepage/user-id/3167902),

Bitbucket Server is for self-hosted repositories. To use "bitbucket.org" you'll want to choose Bitbucket Cloud, Atlassian's remote hosting service, and login via that workflow.

Hope that helps,

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Mackmilan Selva
body: In my work environment we using social cording bitbucket, if i use my repo even i'm getting same login error via bitbucket server.

i was able to login our repo using username password, but it's showing login error when i use sourcetree

Thanks.