youngmon/atlassian-qna huggingface dataset:
Stuck with We couldn?t log you in
Asked by vika_vedy:

Hello.

I have a bitbucket account for a long time and I haven't logged into it for a long time.

I have tried different browsers (cleared cookies, all site data, etc.)

And in each of them I can't log into bitbucket.

It shows me

We couldn't log you in {#toc-hId--494518410}
--------------------------------------------

every time  

What can I do else ?


Answers:
author: Ben
body: G'day Vika!

Welcome to the Bitbucket Cloud community! :)

I have checked your account and can see it was marked as INACTIVE due to a long period of non-usage. I've just re-activated your account so you should be able to log in now.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

login
how to do Bitbucket cloud to cloud Migration
Asked by durga prasad:

i need Step by step process for Bitbucket Migration from Source site to Targeted Site both site are in Cloud (i need Cloud to Cloud Migration.


Answers:
author: Ashley Hudson
body: Hey [@durga prasad](/t5/user/viewprofilepage/user-id/5074724)

So for more information on how to migrate bitbucket cloud, please refer to the documentation below:

<https://support.atlassian.com/migration/docs/use-the-bitbucket-cloud-migration-assistant-to-migrate/>

Hope this documentation helps as it should give you a step by step guide on how to properly migrate bitbucket (from server to cloud but the steps will apply still). I would also suggest to reach out to the support from the vendors to give you some guidance on a cloud to cloud migration here: <https://support.atlassian.com/contact/#/> )

Kind Regards,

Ashley Hudson

comments: author: durga prasad
body: Hi [@Ashley Hudson](/t5/user/viewprofilepage/user-id/4096028)

Thanks for sharing this Document. but that was not reach my requirements.

i mentioned i need Step by step process. for this migration process.


Tags: bitbucket-cloud

cloud
Multiple unrelated builds showing for a PR
Asked by David Connack:

Hello  

I have a situation where I want to automate creating prs to some branches when a merge is done to main.  
I have pipelines that run on prs.  
Im seeing all the pipelines for all the builds on all the prs.  
So if I have 4 prs, I am seeing 4 builds on each pr instead of 1 each.

If one of the builds fails, it blocks all the prs.  

I found [this](https://community.atlassian.com/t5/Bitbucket-questions/Builds-not-appearing-in-pull-requests/qaq-p/1777235) thread that seems to indicate why:  

> For commit statuses to show on the pull request page the following criteria needs to be met:

*
  > the commit has of the commit status matches the current commit has of the source PR branch
*
  > if the commit status refname is null or it matches the branch name of the source branch.

How can I prevent the other prs build from appearing on each-others prs


Answers:
author: Katar?na Luk?csy
body: Hi David!

I'd love to help you achieve your goal but first please allow me to better understand some specifics about your cofiguration.

First off, what type of pipelines do you run on your PRs? Please refer to this blogpost in case my question is confusing. I would like to know if you run \`branches\` or \`pull-request\` pipelines.

<br />

[https://bitbucket.org/blog/level-up-your-code-review-with-continuous-integration#:\~:text=Branch%20pipelines%20are%20triggered%20every,pull%20request%20has%20been%20created](https://bitbucket.org/blog/level-up-your-code-review-with-continuous-integration#:~:text=Branch%20pipelines%20are%20triggered%20every,pull%20request%20has%20been%20created).

Second, would you mind telling me in more detail what source and destination branches you use when you auto-create your PRs? I'd like to understand which, if any, of the two types of branches those PRs share.

Thanks,

Katarina

comments: author: David Connack
body: Hey Katar?na  

These pipelines are pull-request piplelines:  
It looks like this:  

```
pipelines:

pull-requests:

'**':

 - step:

name: Run tests

size: 2x

oidc: true

caches:

 - docker

 - gradle

script:

 - bash ci/scripts/test_ci.sh

services:

 - docker-4g
```

We have 4 dev branches called dev-0, dev-1, dev-2, dev-3.  
The prs source is main, and the destination are the above dev branches.  
They all share the above pull request pipeline.


Tags: bitbucket-cloud

cloud
Need assistance with Zero downtime backup setup in BitBucket
Asked by Himanshu Khanna:

Need assistance in setting up Zero downtime backup in Bitbucket. We are using MS SQL as our DB and need to confirm if that is supported for zero downtime backup strategy. If yes then would need assistance with the script for the same.


Answers:
author: Kurt Klinner
body: Hi [@Himanshu Khanna](/t5/user/viewprofilepage/user-id/5146243)

welcome to the Atlassian community.

looking into <https://bitbucket.org/atlassianlabs/atlassian-bitbucket-diy-backup/src/master/database-mssql.sh> it seems there is support for MS SQL, also referenced within <https://bitbucket.org/atlassianlabs/atlassian-bitbucket-diy-backup/src/master/bitbucket.diy-backup.vars.sh.example> so you might want to test that on a lower tier environment first

Cheers

Kurt


Tags: bitbucket-server

server
How to edit the commit discription after push
Asked by sai prakash:

I have a commit which has been pushed already but but now I want to change the discription of that particular commit.

Please help me in achieving this.


Answers:
author: Mikael Sandberg
body: Hi [@sai prakash](/t5/user/viewprofilepage/user-id/5145867),

Welcome to Atlassian Community!

In order to change the commit comment you have to use the git amend command. Please see [this article](https://www.atlassian.com/git/tutorials/rewriting-history) for more information on how to do it.


Tags: bitbucket-cloud

cloud
couldn't see the .git/hooks in my local repo or remote bitbucket
Asked by Balasri sai chandana:

when I did git clone <https://Abss-Chandana@bitbucket.org/practice-abss-chandu/explore.git>

performed git init

I want to add some stuff to the hooks file but cannot see it in my local repo or remote bitbucket though able to navigate in bash

Can you help to view it local repo or Remote bitbucket repo ?


Answers:
author: Patrik S
body: Hello [@Balasri sai chandana](/t5/user/viewprofilepage/user-id/5141529) ,

Thank you for reaching out to the Atlassian Community!

The git default path for hooks is .git/hooks and this folder is usually a hidden folder, so this is the reason why you do not see it when using file explorer such as Finder, but they do show in bash.

Enabling the view of hidden folder vary depending on your Operating System, so you can check the below instructions for Windows and MacOS :

* Windows: [View hidden files and folders in Windows](https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5)
* MacOS: [Showing hidden files using MacOS Finder](https://nordlocker.com/blog/how-to-show-hidden-files-mac)

With that in mind, the content of the ./git/hooks directory isn't cloned with the rest of your project, nor is it under version control, so you will not be able to see it on the Bitbucket UI. This is because hooks are essentially meant to be local configurations.

However, you have the option to specify a different directory within your repo (outside .git folder) where git will look for the hooks scripts, so you would then be able to commit and push this directory to your repo. To instructions to implement this workaround are outlined in the following article :

* [Standardize git hooks across a repository](https://confluence.atlassian.com/bbkb/standardize-git-hooks-across-a-repository-1188414983.html)

Hope that helps! In case you have any questions, please let us know!

Thank you, [@Balasri sai chandana](/t5/user/viewprofilepage/user-id/5141529) !

Patrik S

comments: author: Balasri sai chandana
body: Thank-you [@Patrik S](/t5/user/viewprofilepage/user-id/4603309)

The information helped out


Tags: bitbucket-cloud

cloud
Workspace and Username: No Default Workspace
Asked by Artyom Kadanin:

I registered account and tried to add workspace, but there was ID conflict. I red here, that there must be default workspace "When registering, the app will check for a unique username and workspace name that are the same. After registering, these can be changed.". Why it is not work now?


Answers:
author: Patrik S
body: Hello [@Artyom Kadanin](/t5/user/viewprofilepage/user-id/5145395) ,

Welcome to Atlassian Community!

The workspace ID and username must be globally unique across the entire platform. We have recently released a change where the workspace and user account are now separate entities, so there will be no concept of personal/default workspace going forward.

So when you create an account, we will not automatically create a default personal workspace that is attached to your account. You can still create as many workspaces as you want though, but they will be not attached to a user.

The difference is that you will not be able to have a workspace ID equal to your username, as those IDs need to be unique.

Hope that helps to clarify your questions!

Thank you, [@Artyom Kadanin](/t5/user/viewprofilepage/user-id/5145395) !

Patrik S


Tags: bitbucket-cloud

cloud
Event payload for branch creation webhook
Asked by aravindaytha:

I wanted to create a webhook on branch creation and branch deletion  
I wanted to know the event payload for bitbucket branch creation webhook event


Answers:
author: Erez Maadani
body: Hey [@aravindaytha](/t5/user/viewprofilepage/user-id/3854611)

Have a look here: <https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/> and look a for the \`push\` event.

Hope that helps

comments: author: aravindaytha12
body: Thanks for the reply
Bitbicket Cloud to Cloud migration - Single repository
Asked by princejhcl:

How to migrate a single project from source Bitbucket Cloud instance to a fresh target Bitbucket Cloud instance.


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

If the repository is not using Git LFS you can transfer it to a different workspace using the steps mentioned in the following doc:

* <https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/>

<br />

Please keep in mind the following:

* If you are using Bitbucket Pipelines and Deployment variables with this repo, the deployment variables do not get transferred at the moment. Take note of them before you transfer, so you can recreate them after the transfer.  

* The repo URL will change after the transfer, so all users who work on this repo will need to update the config of their local repo after the transfer with the new repository URL. Details are provided in the doc I shared above, section "Update local configuration files with the new repository URL".  

* You will need to set up user access to the repo after it is transferred.  

* If the repo is using Git LFS, it cannot be transferred. You can find a workaround on the following page, "Repositories can not be transferred":
  * <https://support.atlassian.com/bitbucket-cloud/docs/current-limitations-for-git-lfs-with-bitbucket/>

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Where is the system git.exe
Asked by Don Clark:

The SourceTree documentation says

### Using System Git {#toc-hId-1624668850}

Windows![](https://confluence.atlassian.com/sourcetreekb/files/785323587/785323594/1/1444984682597/GitOption2.png)

**Just select "Use System Git" to select the Git version which is installed on your system.**

However, after clicking the System Git button a file picker window pops up and wants me to navigate to the location of git.exe. Where is that?


Answers:
author: Mikael Sandberg
body: In order to use System Git you have to first download and install it. You can download it from <https://git-scm.com/>

comments: author: Don Clark
body: Supposedly our IT dep't installed that two weeks ago. Apparently not, since the SourceTree app didn't find it and neither can I ;-(


author: Mikael Sandberg
body: Sourcetree looks for the System Git in the Path variable, normally it is installed under C:\\Program Files\\Git if you use the default settings (on 64-bit Windows).
Frustrating experience on OSX High Sierra
Asked by J?rgen Simon:

Hello,

I've been working with SourceTree for a long time and was happy for most of it, but now feel compelled to speak my mind. I don't mind occasional crashes and so forth. That's fine and rarely happens these days. What frustrates me greatly is the way SourceTree slows down. It started happening a few month ago and gotten worse and worse and worse.

It now happens at simple operations (like switching views, simply activating a window or even switching to the app in Finder) that I find myself staring at a beachball of doom and have to sit for up to a minute until it catches it's breath. It is highly aggravating.

Please fix it. Thanks!


Answers:
author: Manju
body: We have some performance improvements in this area which will be rolled out with the next version soon.   
Thanks for the report and patience.

Regards,  
Manjunath  
Sourcetree Mac Developer


Tags: mac
Unable to fetch/pull/clone/push a project
Asked by Joseph Tee Yong Han:

I was able to fetch, pull, clone and push since I started to use Sourcetree and git. But then this error appears out of sudden when I'm trying to fetch or pull, and I cannot do anything about it.

---------------------------------------------------------------------------------------------------

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no: ssh: command not found  
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.


Answers:
author: Manju
body: Are you on macOS or Windows?

comments: author: Joseph Tee Yong Han
body: I'm using Windows 10. But nevermind now, the problem has been resolved.


author: Ana Retamal
body: Glad to hear it's working now, Joseph! would you mind sharing how you fixed it, so it can help other users from the Community? :)

Have a good day,

Ana


author: Joseph Tee Yong Han
body: I accidentally remove my ssh.exe file in Git folder by an antivirus software. So I solved it by just replace back the ssh.exe file in my Git folder.
After creating local branch, i top seeing notification on source tree.
Asked by ShruthiNSetty:

Source tree was working fine these days , I created new branch on remote and changes are not syncing up.

after working on code, I don't see notifications related to commit, and I don't see the changes in files unless I commit and push through git command.

Please can you suggest me to fix this issue.


Answers:
author: Manju
body: Are you on macOS or Windows? What version of Sourcetree are you using?
When I want to push it asks log in information after entering it givs this error:
Asked by Azam6169:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false pull --rebase --log --no-ff origin master  
fatal: Couldn't find remote ref master  
Completed with errors, see above.


Answers:
author: Manju
body: Are you on macOS or Windows?
Issues pushing to BitBucket
Asked by Everest Technologies:

I am trying to push to bitbucket and I am having an issue with my passwords/permission with my keychain access on my macOS. I have attached a screenshot. I was wondering if there is a way around this problem so that I can seemlessly commit, push, and pull between bitbucket and sourcetree![Screen Shot 2018-07-30 at 1.41.11 PM.png](/t5/image/serverpage/image-id/28221i20EAC6E2663A97EB/image-size/large?v=v2&px=999 "Screen Shot 2018-07-30 at 1.41.11 PM.png")


Answers:
author: Manju
body: I see the screenshots. But, I don't get what the issue is. Are you not able to grant access? Or, is something else happening?

If you are entering your Bitbucket password in the password prompt to allow, that is not what its expecting. You are expected to enter your system's login password to grant access.

Have you added your account in Sourcetree?
Error: Cannot install/uninstall Sourcetree 2.16.10
Asked by Bastian Zimmer:

When I try to install Sourcetree 2.16.10, I get the following error message:

*2018-07-30 11:54:47\> Unhandled exception: System.IO.FileNotFoundException: File or Assembly "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" or a dependency was not found.*

*The system cannot find the file.*   
*Filename: "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"*   
*bei Squirrel.Update.Program.executeCommandLine(String\[\] args)*   
*bei Squirrel.Update.Program.main(String\[\] args)*

My system: Windows 7 64bit

In advance i had a working version of Sourcetree installed. As far as I know, I did not make any changes to the system. Suddenly Sourcetree did not work anymore and I could not uninstall the program either. I get the error message that the file System.xaml is missing.

Best Regards

bz


Answers:
author: Mike Corsaro
body: Hello! Can you make sure that the .Net Framework 4.7.2 is installed? Thanks.

comments: author: Bastian Zimmer
body: Hi Mike

i have just updated the .Net Framework to 4.7.2. Now, everything works like a charm. (:

Previously i had the version 4.7.1

Best Regards

bz


author: hazza96
body: I have the opposite problem, I have 4.7.2 installed and the install keeps whinging that I do not have .Net installed.

I am installing 4.7.1 to see if it sorts itself out.


Tags: error

install

windows
I am unable to sign in either as my user or as google account
Asked by columbus.Ndah:

I am unable to sign in either as my user or as google account


Answers:
author: Manju
body: Can you please describe what you are trying to achieve in Sourcetree? Also, please include if its the macOS client or Windows version that you are using. Any screenshots and error messages will help us assist you better and faster.

Thanks!
Git Credential Manager for Windows Popups not popping up
Asked by Hemanth Kumar:

Evrytime sourcetreee takes up the credentials which is already stored. But I need to feed my credentials instead of saved one. So how to make window popups to come whenever I clone a repository.


Answers:
author: Mike Corsaro
body: Hello! You can remove credentials by going to "Options \> Accounts" and remove accounts you don't need. Sometimes removing all accounts can solve issues with the Git Credential Manager.

comments: author: Hemanth Kumar
body: Hello! I did not find options - accounts....instead there is an authentication....but I cannot delete any account inside it....I'm using sourvetree version 2.1.2.5
Cannot access My Atlassian (License Management)
Asked by Ariya:

when i clicking on the atlassian account button this massage appears

![2018-07-27_1334.png](/t5/image/serverpage/image-id/28166i534448E124B27B76/image-size/large?v=v2&px=999 "2018-07-27_1334.png")what i have to do?? :(


Answers:
author: Ana Retamal
body: Hi Ariya! This is usually caused by an old version of the browser. Sourcetree relies on Internet Explorer for authentication, can you make sure it's updated to the latest version?

Apart from that, IE needs to be configured at a minimum as follows:

- Cog/Internet options/Security settings need to be enabled

- Misc/Access data sources across domains

- Misc/Allow META-REFRESH

- Scripting/Active Scripting

- The browser mode set to 10

- The document mode set to 10

These can be set using the F12 developer tools.

Those are the settings that matter. It should also be able to set them indirectly by:

- making sure [https://id.atlassian.com](https://id.atlassian.com/) is NOT set to be rendered in Compatibility Mode

- Set Cog/Internet options/Security to Medium-High

Let us know if this helped you!

Best regards,

Ana
Cannot access My Atlassian (License Management)
Asked by Ariya:

when i clicking on the atlassian account button this massage appears

![2018-07-27_1334.png](/t5/image/serverpage/image-id/28166i534448E124B27B76/image-size/large?v=v2&px=999 "2018-07-27_1334.png")what i have to do?? :(

and i also went to this link but this code showed me

![2018-07-29_2102.png](https://community.atlassian.com/t5/image/serverpage/image-id/28168iF8F46DC1659A8438/image-size/large?v=v2&px=999 "2018-07-29_2102.png")

![2018-07-28_2219.png](https://community.atlassian.com/t5/image/serverpage/image-id/28170i53809F601569969F/image-size/large?v=v2&px=999 "2018-07-28_2219.png")

i tried two different browsers ( chrome and mozila fire fox)

what i have to do?? :(


Answers:
author: Tansu Akdeniz
body: Hi [@Ariya](/t5/user/viewprofilepage/user-id/1716455),

It seems that there is a network restriction that prevents loading scripts.

Please check this KB: <https://confluence.atlassian.com/cloud/atlassian-cloud-ip-ranges-and-domains-744721662.html?_ga=2.43641701.1103166604.1532934994-831090291.1524635312>

comments: author: Ariya
body: i went this link but i didn't understand what i have to do :(

can you tell me a little clear??


author: Tansu Akdeniz
body: Btw, did you try with IE 11?


author: Ariya
body: no but i downloaded now and installed, it't fixed

thank you :)


author: Tansu Akdeniz
body: You are welcome [@Ariya](/t5/user/viewprofilepage/user-id/1716455)If my answer helped to solve your question, would you please mark as "Answered". So that, other people will be able to find this answer easily for similar questions.
I cannot connect to my GitHub account from Sourcetree (OS X)
Asked by SHChang:

![???? 2018-07-29 17.45.06.png](/t5/image/serverpage/image-id/28148i26BBBEEEEF4A7F00/image-size/large?v=v2&px=999 "???? 2018-07-29 17.45.06.png")

I cannot press the button to authorize atlassian, and there is no redirection for me to grant the access. Due to the authorization, I cannot connect to my GitHub account from Sourcetree. Please help me!!! Thanks a lot!!!


Answers:
author: Manju
body: Can you please specify the version of Sourcetree you are using?  
Also, please check if there is already a grant available for SourcetreeForMac in your Settings - <https://github.com/settings/applications> (Authorized OAuth Apps), remove the application and try again.

If that doesn't help, please report here and we'll help you resolve this issue.

Thanks!
Sourcetree for Mac 2.7.6 fails to Oauth with Bitbucket
Asked by Daniel White:

I'm trying to oauth into my hosted Bitbucket account. I'm able to login (including with and without MFA enabled). However the redirect is going to a listing of my repos, not to the auth return needed for Sourcetree to authenticate me. Is there something wrong in my configuration?


Answers:
author: jerrodputman
body: I managed to eventually login by doing this:

1. Switch to Basic auth and type in my email address for the user name.
2. Generate an SSH key.
3. Try to Save.
4. SourceTree will complain that you should use your username instead of an email address.
5. Switch to OAuth and try connecting again.
6. You should now be able to login and "Grant Access" to SourceTree.
7. Re-generate your SSH key.

Not sure if this will work for anyone else, but that did the trick for me.

comments: author: Muhammad Ali
body: Worked for one of my accounts. Not for the other.


author: laice_
body: Just wanted to chime in I'm having this same issue - trying to add bitbucket account via oauth to OSX Sourcetree results in just logging in inside the popup rather than authenticating


author: Gabriel Gomes
body: Same problem here


author: matthewzak
body: I'm experiencing the same issue.


author: Koopa
body: Same


author: Alvaro Oliveira
body: Same here


author: florian_thompson
body: Same issue for me ...


author: Connorlee
body: any update on this?


author: ???
body: same


Tags: bitbucket

mac

oauth