youngmon/atlassian-qna huggingface dataset:
New Sourcetree + tab remote repository clone link fails
Asked by timleanonmeapp:

Sourcetree 2 linked to BitBucket, shows remote repositories, but won't clone clicking the "Clone" link next to the remote repository name.

Manually copying the link from BitBucket and pasting into Sourcetree works fine.

Looking for a way to fix this missing feature. Thanks! More details below.

----

Today is Dec 15 2017, and I just installed the latest Sourcetree on a new PC. I have a BitBucket account with four repositories. Sourcetree is on a Windows 7 Professional 64 bit machine.

While I did set up the BitBucket and repositories, I only learned enough to own the repositories my two developers use. I would appreciate detailed instructions on any recommended fix.

Fresh install (first install) of Sourcetree. All went well, successfully authenticated into my account and can see my remote repositories. Click the large + to open a new tab. Click remote. I see my repositories. Click "Clone" next to the one I want. Nothing happens. Repeat. Nothing.


Answers:
author: minnsey
body: Hi  

There is an known issue with that behaviour, please make sure you have selected the repository row before clicking clone

comments: author: timleanonmeapp
body: Such a simple thing! Thank you Michael, that was it.

Tim


Tags: windows
there is a wrong translation.
Asked by Chulseung Yoo:

![screenshot 2017-12-15 PM 8.05.27.png](/t5/image/serverpage/image-id/11054iDD9B13F171B1B0C7/image-size/large?v=v2&px=999 "screenshot 2017-12-15 PM 8.05.27.png")

in English, it's maybe resume. and it should be translated to ?? or ...

but it is translated as shown. the meaning is

![???? 2017-12-15 ?? 8.14.40.png](/t5/image/serverpage/image-id/11055i07E917FA249255C6/image-size/large?v=v2&px=999 "???? 2017-12-15 ?? 8.14.40.png")


Answers:
author: AnnWorley
body: [@Chulseung Yoo](/t5/user/viewprofilepage/user-id/1171309) - Thanks for the heads up and welcome to the Community.

Our translations are crowd-sourced, so you may use a free account to update the translation, at the links below:

[Sourcetree For macOS](https://www.transifex.com/atlassian/sourcetree-for-mac/)

[SourceTree For Windows](https://www.transifex.com/atlassian/sourcetree-for-windows/)

Atlassian pulls the latest revisions when we build a new release.


author: Thomas Schlegel
body: Hi,

thank you for reporting the wrong translation. I will forward this to Atlassian.

Thomas
Cannot push new to remote repository.
Asked by Trokild:

I'm totally new with Bitbucket and SourceTree, and I'm unable to push my project.

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master  
POST git-receive-pack (chunked)  
fatal: The remote end hung up unexpectedly  
fatal: The remote end hung up unexpectedly

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054  
Pushing to https://Trokild@bitbucket.org/Trokild/tank_you2.git  
Everything up-to-date

Completed with errors, see above.

My buffer is 'postBuffer = 157286400'. My project file is 399mb total and no file over 10mb.

Please help.


Answers:
author: Ana Retamal
body: Hi Torkild! We'll need some more info to help troubleshooting this issue:

* Have you tried pushing from the command line to see if you get the same error there?
* Do you get errors when you perform other operations, or only when you push?
* Is this only happening with this repo, or with any repo?
* Which version of Sourcetree and OS are you using?

Cheers!

Ana


Tags: bitbucket-cloud
Is legal to use the SourceTree free version in a corporation?
Asked by Victor Lara:

Is legal to use the free version of SourceTree in a corportation? Or is there a commercial license we should pay?


Answers:
author: Ana Retamal
body: Hi Victor! It is legal, Sourcetree is free for every kind of user and you can use it in your corporation too :)

Have a good day!

Ana

comments: author: Victor Lara
body: Thanks Ana, will let the team know. They love this tool


author: Ana Retamal
body: So glad to hear that, Victor!

Saludos :D

Ana
Why is Sourcetree not letting me push to the origin?
Asked by Evan Solomon:

I am trying to push to a remote repo from my local and it keeps saying there's an authentication error. I went to Tools \> Authentication and I set the right account as default and it has the correct password. I tried deleting other passwords that were saved and it wouldn't let me, so I just changed all the passwords to the one for the account I am looking to push. I am still not able to push to the origin from my local branch.


Answers:
author: somethingblue
body: Hi Evan,

* Are you able to perform a [git push](https://git-scm.com/docs/git-push) to the origin from your local branch via the command line?

I have seen this resolved by removing the password file from the operating System. Take a look at the Communities post titled [How to update HTTP(S) credentials in sourcetre](https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564)e for more information. The locations you're going to be looking for are as follows:

* **Windows:** C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree
* **OS X:** \~/Library/Application Support/SourceTree

Once you remove the password file, restart SourceTree and perform an action that should prompt for the password such as another push, etc. Let us know if that works for you and we'll go from there.

Cheers,

Branden

comments: author: Evan Solomon
body: Thanks for your help! That worked.


author: somethingblue
body: Awesome! I'm glad we could help!
How do I edit my username for a different repository website?
Asked by Kristian Hansen:

Hi,

I'm running the latest Mac OS. Everything is up to date.

My SourceTree won't let me use my school's Git repository because when I have to authenticate, it only asks me for a password. It tells me which username it is using but it is the wrong username...  

How do I force the correct username? My school uses something called GitLab FHICT.  

If I can't do this? How do I uninstall Sourcetree? When I drag and drop the app into the trash it just reappears.   

Any help is appreciated. Thanks!


Answers:
author: Manju
body: This is happening because the repository was cloned using the account that Sourcetree is asking password for. You might want to clone it again with the right account you need to use in order to set the right username.

Alternately, you can click on Settings toolbar item in the repository window and select remotes tab to change the remote URL which has the wrong username.

Hope this helps!

Thanks,  
Manjunath
Installation and login issues
Asked by ??? (???):

![11.jpg](/t5/image/serverpage/image-id/10995iD7474DE8AC5BD8C4/image-size/large?v=v2&px=999 "11.jpg")

How do I fix this?


Answers:
author: somethingblue
body: Hi,

I have seen this reported in the Community in [this]( SourceTree does not show the login window during installation Edited) post it sounds like there is a known SourceTree bug that you can find at [SRCTREEWIN-7244](https://jira.atlassian.com/browse/SRCTREEWIN-7244). There is a workaround in the bug ticket that should help:
> **At a minimum IE needs to be configured 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> is NOT set to be rendered in Compatibility Mode
*
  > Set Cog/Internet options/Security to Medium-High

Try the above steps and let us know how it goes! If the above steps do indeed work for you please vote on the bug ticket to add impact. At that point you'll be notified automatically of any changes to the ticket including the addition of a resolution.

Cheers,

Branden
Pull request hangs or first request fatally fails (TaskCanceledException encountered)
Asked by Jon Grah:

I just installed Win8.1 64-bit (installed fresh about 10 days ago) and a fresh copy of SourceTree 2.3.5.0 today. During the installation, I went ahead and cloned a copy of a git repository stored on Atlassian Bitbucket. Everything looks good and then I go to do a pull request to make sure everything is working and I notice it takes several seconds longer than normal. I get an error in the Full Output:
> git -c diff.mnemonicprefix=false -c core.quotepath=false **fetch origin**   
> fatal: TaskCanceledException encountered.  
> A task was canceled.

But it moves on to the next task
> git -c diff.mnemonicprefix=false -c core.quotepath=false **pull --log origin master**   
> From [https://bitbucket.org/4EverMaAT/\[project1\]](https://bitbucket.org/4EverMaAT/newstrade-and-other-bugs)  
> **\* branch master -\> FETCH_HEAD**
>
> Already up-to-date.  
> Completed successfully.

And finishes.

But I want to know why it hangs with the "**fetch origin**" request?

I had a previous install where it just kept hanging. No explanation or tips. I also got an error on the previous install about "*warning: templates not found*" .

----

edit: now I tried a push request (staged a test .txt file) and it took 3 minutes for it to get past this request"

> git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\\Users\\\[winuser\]\\AppData\\Local\\Temp\\ztvwqmv1.eus  
>
> git -c diff.mnemonicprefix=false -c core.quotepath=false **push -v --tags --set-upstream origin master:master**

Why is it taking so long?

Before it took seconds.


Answers:
author: minnsey
body: Hi  

It seems likely it is an error occurring in the Git Credential Manager. The time is being taken during the authentication to and fro with Bitbucket.  

What version of Git and GCM are you running?  

You can see both by opening the Terminal from the repo tab in Sourcetree and running  

\>git version

and

\>git credential-manager version  

comments: author: Jon Grah
body: As requested, I opened SourceTree 2.3.5.0 and clicked "Terminal" and the following appeared:

```
mkdir: cannot change permissions of '/dev/shm': Permission denied
mkdir: cannot change permissions of '/dev/mqueue': Permission denied
'C:\Windows\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\Windows\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\Windows\system32\drivers\etc\services' -> '/etc/services'
'C:\Windows\system32\drivers\etc\networks' -> '/etc/networks'

[winuser]@[localhost]?MINGW32 /c/[filepath]/git (master)
$

$ git version
git version 2.14.1.windows.1

$ git credential-manager version
Git Credential Manager for Windows version 1.12.0

```

I only use Bitbucket.org and SourceTree on my local computer. So whatever SourceTree installs by default, that is what I am using.

Do I need another program?


Tags: git

pull-request
Copy a tag in source tree
Asked by max isaev:

Hello. It's impossible to copy a tag in SourceTree to clipboard. Could you please add this feature?


Answers:
author: Ana Retamal
body: Hi Max! We already have a feature request for that, you can find it at [SRCTREEWIN-7608](https://jira.atlassian.com/browse/SRCTREEWIN-7608). You can add a comment if you'd like to be more specific about something, or if there's anything else you'd like to add. You can also vote for it and watch it to be notified of future updates.

Hope that helps!

Ana

comments: author: max isaev
body: Great! Thank you!


author: KEMBL
body: In order to copy the Tag name in SourceTree:  

1) Double click on Tag so you move your HEAD to the tagged commit  

2) Open Terminal (it's icon at the top right area) and copy tag name from the terminal console
Stage and commit hunk commits whole file instead
Asked by Eirini Pappa:

I've been noticing this for a while now and don't know why it happens.

<br />

When staging a hunk and hit commit, it commits instead the whole file and not just the hunk I staged.

This happens only with some repos, in some others it seems that it's working like it should, that is committing only the staged hunks/files.


Answers:
author: oyvindmidtbo
body: I'm experiencing this right now. I'm on version 3.2.1 on macOS 10.14.6.


author: minnsey
body: Hi  

I've not experienced that behaviour. Is it reproducible on demand?  

<br />

Which version of Sourcetree are you running? And can you add some more detail about the order of events, which buttons where you are clicking etc?  

Thanks
SourceTree not logging in to BitBucket - saying password is wrong but it's right!
Asked by Kosta Kondratenko:

Hi,

I've just created a private repository on BitBucket and would like to clone it with SourceTree for my local computer.

I've clicked on 'Clone in Sourcetree' from the Readme file that was automatically created.

<http://prntscr.com/hmr7uu>

That opened up SourceTree and prompts me for the password for 'HeadStudios' (which I assume is the password for my BitBucket account).

However when I enter the password it does not authenticate me.

I even changed my password from my Atlassian account:

<http://prntscr.com/hmr8nt>

And then logged back into BitBucket with the updated password. I even confirmed the username is correct:

<http://prntscr.com/hmr8yr>

So why isn't it allowing me to login?


Answers:
author: Ana Retamal
body: Hi Kosta! Can you let us know the following so we can help you?:

1. Are you using Sourcetree for Windows or Mac?
2. Are you using Bitbucket Cloud or Server?
3. Where in Sourcetree are you trying to enter your credentials?

The instructions in the article [Connect your Bitbucket account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html) might help you.

Let us know!

Ana

comments: author: Kosta Kondratenko
body: HI Ana,

Thank you for your reply. In the mean time I have fixed the issue by switching to an SSH connection and so it no longer asks me for the password.

This issue is now solved for me and I consider this ticket closed.

Best,

Kosta


author: Ana Retamal
body: Good to know you found a solution, Kosta :)

Have a good day!

Ana
Oops, you've made a malformed request.
Asked by Marco:

Oops, you've made a malformed request. {#toc-hId-1766725398}
------------------------------------------------------------

Often, clearing your browsers cache and restarting your browser will solve this problem.  
If that doesn't work, please [contact support](https://support.atlassian.com/).

I get this message whilst trying to log into the sourcetree app. I have cleared my cache in both firefox and internet explorer, though I only use firefox.


Answers:
author: Gabriel Acosta
body: If you still need a solution, this worked for me (Windows 7, SourceTree 2.3.5). Go to Control Panel\>Network and Internet\>Internet Options. Go to the Privacy tab and set the Internet zone setting slider all the way down to "Accept All Cookies".

Install the app, register/login and then when done turn the setting back to whatever it was before.

I tried Ana's solution first and it didn't work but I still had those changes enabled when I tried my solution, I don't think that affected things but mentioning it just in case.

comments: author: Jonathan Peacocke
body: Hi

I have tried your solution as well, sadly for me did not work.

I went through all the IE settings and allowed / enabled everything, when doing so it would just sit there with the login button spinning rather than returning malformed request. Not sure if this is progress but it is change.

I will also try this from home, in case there is something on this network causing the issue.

thanks for the suggestion though


author: Jonathan Peacocke
body: Hi Ana

I am also getting the same issue,

I have tried your suggestions above, with no joy.

I have tried source tree 2.3.5 and 2.1.11.0, IE 11.0.96 running windows 7

any more suggestions welcome.

Best Regards,

Jonathan


author: Marco
body: Hi thanks for your help, I'm still getting the same issue.

I'm using sourcetree 2.3.5, Windows 7, Internet Explorer 11


author: Ana Retamal
body: Hi Marco, Sourcetree for Windows uses Internet Explorer for authentication, can you make sure you're in an updated version? If you already are, please try the following:

* Disable browser extensions or try in private browsing mode.

<!-- -->

* Turn off compatibility mode in IE. To do that, open Internet Explorer, go to the *Advanced options* tab and click on *Reset your Internet Explorer Settings*
* Check *Delete personal settings*
* Change your Internet Explorer Security Zone Settings:

1. Open IE, click on the gear
2. Select "Internet Options"
3. Select the "Security" tab
4. Select "Custom Level" for Internet
5. Find "Access data sources across domains" and select "Enable" (make note of what the setting currently is)
6. Try logging into Sourcetree again

After logging in, follow steps 1-5, but ***reset the setting back to the previous option***.

If after that you're still having trouble, let us know which version of Sourcetree, IE and Windows are you using so we can continue helping you :)

Best regards,

Ana


Tags: windows
when at the bottom of a long page, how do you quickly go into edit mode?
Asked by jloh:

When reading through a long page and you see something you want to change or add, do you have to scroll to the top to switch into editing mode then scroll back to where you want to edit?


Answers:
author: BHUSHAN PATIL
body: Hi [@jloh](/t5/user/viewprofilepage/user-id/5378249) ,

you don't necessarily have to scroll to the top of the page to enter editing mode. you can use keyboard shortcut.  
**Keyboard Shortcut:** Press "**E**" while viewing the page. This keyboard shortcut instantly activates editing mode regardless of your position on the page, eliminating the need to scroll.

Regards,  
Bhushan

comments: author: jloh
body: great thanks for the quick response.


author: BHUSHAN PATIL
body: You're welcome! Also, if you feel my input help you please accept the answer.


Tags: cloud

confluence-cloud
Get ConfiForm form entry where field value contains a slash ("/")
Asked by Jeremiah Watkins:

I need to filter ConfiForms entries by a field where that field contains a slash character ("/"). I'm following the [ConfiForms REST API](https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Server+REST+API+version+1#ConfiFormsServerRESTAPIversion1-SearchConfiFormsEntriesbyfilter) and [ConfiForms Filters](https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters) documentation.

Example:

The "Path" field contains the value "path/to/file"

I tried a REST request to the following URL:

```
https://my-confluence-server.com/rest/confiforms/1.0/search/[pageId]/[formName]/Path:path/to/file
```

But this returns a 404.

If I change the Path field to just a word (without slashes) like "file", I can find it fine like this:

```
https://my-confluence-server.com/rest/confiforms/1.0/search/[pageId]/[formName]/Path:file
```

Returns a result as expected:

```
{
? "total": 1,
? "list": {
? ? "entry": [
? ? ? "@{recordId=99; createdBy=my.user; created=1701552880927; id=8053f3a5-464f-4aa2-b742-b590dfe93263; fields=; ownedBy=my.user}"
? ? ]
? }
}
```

I think it's because the value contains slashes, which messes up the URL. I tried URL-encoding the slash, like this:

```
https://my-confluence-server.com/rest/confiforms/1.0/search/[pageId]/[formName]/Path:path%2fto%2ffile
```

But no change.

So what's the right way to filter entries on a field that contains a slash character?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Jeremiah Watkins](/t5/user/viewprofilepage/user-id/5105948)

Try passing the filtering parameter through the "query" parameter

```
https://my-confluence-server.com/rest/confiforms/1.0/search/[pageId]/[formName]?query=Path:path%2fto%2ffile
```

Alex


Tags: confiforms

confluence-server

server
How to automate the export of a space analytics data?
Asked by Pierre Martin-Dumont:

Given [CONFSERVER-81892](https://jira.atlassian.com/browse/CONFSERVER-81892), I am looking for a way to export analytics data of my space every month, capturing last month's data somewhere else (a file, a confluence page, or anything else). This would allow me to have those data on a longer-term basis. Is there any way to achieve this using the automation engine? Thanks for your help!


Answers:
author: Brant Schroeder
body: [@Pierre Martin-Dumont](/t5/user/viewprofilepage/user-id/5379181) Welcome to the Atlassian community

You can export content and user analytics from the space's Analytics screen:

1. Go to your space and select "Analytics" from the left-hand menu
2. On the tabs, select "Content" or "Users"
3. Limit what content to include
4. Select the breadcrumbs (3-dots) icon in the top-right, and select "Export Excel"

This provides details such as last modified, last viewed and user/total views in a specific timeframe.

comments: author: Pierre Martin-Dumont
body: Thanks [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) for the warm welcome and for your quick answer. I did see that export was possible using the exact steps you listed, thanks for that. What I am looking for is a way to automate those manual steps, using the automation engine. Any ideas? Thanks again!


author: Brant Schroeder
body: [@Pierre Martin-Dumont](/t5/user/viewprofilepage/user-id/5379181) sorry I missed the automation portion. You would have to use the API to get that information in an automated fashion and you would have to build the integration that would provide that. I believe the app EasyBI would be able to pull that information as well if you want to go the app route.


author: Mattia _bitvoodoo ag_
body: Hello [@Pierre Martin-Dumont](/t5/user/viewprofilepage/user-id/5379181)

If you're using Confluence Cloud as tagged here, then you're not affected by CONFSERVER-81892 as this concerns only Confluence Server or Data Center hostings.

But if your Confluence runs on server or data center hosting you can try to find out if Atlassian also offers the views and viewers' information in their [API](https://developer.atlassian.com/server/confluence/confluence-server-rest-api/).  
Alternatively, find out where this information is stored in the database and then extract it using SQL query.

If you're using Confluence Cloud then have a look at their Cloud API [here](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics/#api-group-analytics).

Kind regards

Mattia

comments: author: Pierre Martin-Dumont
body: Thanks [@Mattia _bitvoodoo ag_](/t5/user/viewprofilepage/user-id/4053360) I will take a look.


Tags: cloud

confluence-cloud