youngmon/atlassian-qna huggingface dataset:
Adding Bitbucket account to Source Tree problems
Asked by heymo:

Trying to add my Bitbucket account to SourceTree on a Mac (version 2.7.6), but am running into problems:

Going to Preferences-\>Accounts-\>Add

Select Bitbucket, OAuth -\> Connect Account

I get through a some screens, providing for username, password and two factor authentication code.

Then I get to a screen where it just shows me all my repos I have on Bitbucket - but nothing to actually add my account to SourceTree (see attachment)...

Any suggestions?![Screen Shot 2018-07-24 at 9.18.24 AM.png](/t5/image/serverpage/image-id/27698i3F9D3DB874BE609F/image-size/large?v=v2&px=999 "Screen Shot 2018-07-24 at 9.18.24 AM.png")


Answers:
author: Manju
body: We are aware of this issue and are actively looking into it. In the meanwhile, we recommend you to use App Passwords in the basic authentication password field to proceed with adding Bitbucket accounts in Sourcetree.

Appreciate your patience and cooperation on this.

Thanks!

comments: author: heymo
body: Sounds good, thanks for letting me know.


Tags: mac
Having trouble authenticating in Sourcetree
Asked by angelonikolaou:

Hello,

I have trouble authenticating in order to use Sourcetree. I followed the instructions [here](https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html) and [here](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-keeps-asking-for-login-and-password/qaq-p/146765) but I didn't manage to solve the issue. Any help is greatly appreciated.

Basically, I constantly get a popup about inputting username and password, I do it (identical to the website), I get no errors, then I get the popup again.

OS: Windows 7

Sourcetree Version: 2.6.10.0

Note that the instructions asked me to delete the credentials from Credential Manager, but there were none. In the past, I was using Google authentication linked to the BitBucket account.

Thank you in advance. Cheers.


Answers:
author: Mike Corsaro
body: Hello! Just to clarify: you're getting an access denied error from Git? If you're having issue with that, I'd recommend that you try using a ssh-key to authenticate. [You can find instructions for doing that here.](https://confluence.atlassian.com/sourcetreekb/generate-and-load-ssh-keys-into-sourcetree-with-putty-790629663.html)


Tags: bitbucket

bitbucket-cloud

cloud

windows
Disable Bitbucket LFS Media Adaptor
Asked by alexandergoss:

Hi Everyone,

We have been using Sourcetree for development for a while now, and have been having a number of issues when uploading content to our Bitbucket LFS instance (dropping connection for uploads exceeding a couple dozen megabytes: IE almost, but not quite, useless).

I recently identified the cause as been the Media Adaptor, and attempted removing the executable from the Sourcetree/git_extras folder in my AppData.

Sourcetree detected this and asked if I would like to reinstall it, to which I replied no, and checked the "Do not ask again" box. However, it immediately ignored me, reinstalled it and now the prompt doesn't show anymore.

I've already attempted uninstalling / reinstalling Sourcetree, and short of purging every Sourcetree related folder I can find, anyone know how to turn it off?

Thanks,

Alex


Answers:
author: Mike Corsaro
body: Hello! This has been fixed in the next release, which should be shipping soon. Sorry for the issues it's been causing!

comments: author: alexandergoss
body: Ok, thanks Mike!
SourceTree painfully slow
Asked by Vineet Pathak:

Hi,

I am using Source tree version 1.9.13.7. From last 2 months I am facing an issue with the speed of source tree. Below functions are painfully slow:

- Opening source tree

- Pulling, Pushing the code to repository

- Creating,deleting and merging the branch

- Staging, stashing and discarding the files.

Surprisingly, all functionalities are running very slow. It takes me 15 min to operate to above functions.

The internet is working fine on my laptop and other things too. What could be the matter with SourceTree?

Please help me on this matter. Expecting a quick reply.

Thanks


Answers:
author: Mike Corsaro
body: Hello! Could you try using a newer version of Sourcetree? 1.9 isn't officially supported anymore, and newer versions contain critical security fixes and performance improvements.

Thanks!
Recover a comment deleted
Asked by guaro:

By mistake, I created a git in a folder (named \[SourceTree\]) that had several repositories and other folders with code that I was going to create repositories later.

By accident, I deleted the repository, and off course, all the folders disappeared.

The Trash icon in the finder shows that there is trash, but when I open it, I don't see anything. I tried to perform an Undo (there is none).

Can "I" recover the deleted repository before emptying trash?


Answers:
author: Manju
body: If you deleted only your bookmark, your SourceTree folder should be in its original location and not removed. If you also trashed the repo, you should be able to find it in Trash.


Tags: git
Finish Feature commit message
Asked by Tibor Cs?t?nyi:

Hi guys,

I would like to know if it is possible to change the commit message when finishing a feature in Sourcetree using Git Flow to something different than "Merge feature/xxx in develop".

Thanks in advance.


Answers:
author: Hugo Zijlmans
body: If you're using bitbucket it would be a nice suggestion to actually make a pull request. If you merge based on a pull request it will not only show you a nice commit message but this will also include a summary of all changes on branch/feature commits.

comments: author: Tibor Cs?t?nyi
body: Unfortunately I'm not using Bitbucket.
Highlight commits on current branch
Asked by Robert Mulder:

Is there any way to make SourceTree highlight all the commits that are included in my currently selected branch (or gray out those that aren't)?

I'm often faced with 10+ simultaneous branches from different team members that have been merging and branching. I want a way to quickly see which commits are NOT in my current branch.

I know I can make it display only the commits from my current branch, but that doesn't help me much. I'm looking for a way to see all commits from all branches, but somehow be able to see at a glance which aren't yet in my current branch.

Seeing how SourceTree is a visual tool, this seems like a very useful feature to have.


Answers:
author: Manju
body: on Sourcetree for macOS you can use the popup button on the left side above the commit graph table to select "Current branch" to show the commits only for your current branch.

![](blob:https://community.atlassian.com/869a62cb-7dd7-44d6-baa8-2ae946bde18f)

comments: author: Robert Mulder
body: Yes, I mentioned that option, but that shows my what **IS** in my current branch by hiding the things that **AREN'T** . What I'm looking for is a way to quickly see what's **NOT** in my current branch, so I can easily see if I've missed a merge somewhere down' the line.

Especially when working with multiple developers in branches that interleave somewhat it can be hard to quickly discern if there are commits that you don't have merged yet. By providing an easy way to see them, by for instance showing them slightly greyed out, it's easy to glance at the repository and see if you may have missed something.


author: Hugo Zijlmans
body: Hi Robert,

unfortunately there is no way of doing this in sourcetree besides doing it manually to verify if all lets call them 'patches' are included in your current branch. Even if this feature would have been available (graphically) there is no way of knowing if all patches even were implemented during a merge, as in a merge you could chose to discard lines. The end result will show up as merged but still meant changes could be open (for instance when the branch remains open and later merge is again required). I hope this at lease answer your question although it doesn't fulfill your expectation.
Unable to add an account using Google login
Asked by Marco Fabbri:

I'm trying to add an account to Sourcetree using the Google login option.

I can login with the Google credentials without errors but Sourcetree is not adding the new account to the list.

Can you help me?


Answers:
author: Manju
body: Could you please provide more details on what errors you see, what version of Sourcetree you are using and on what OS?

Screenshots would be of great help.
Refreshing remote repositories failed using SSH
Asked by Mujo Music:

I keep getting an error when trying to refresh my remote repositories. Within the popup message there is a button that takes you to the login screen. I put in my credentials but when I log in my only option is to hit cancel. Upon trying to refresh the repos again it's the same process all over again. It's an endless cycle of trying to refresh, logging in, being forced to hit cancel (since there is no other option) and doing it again and again to no avail. The error appears no matter what.

This is extremely annoying and I can't get anything done. I log in to bitbucket just fine. My account is connected on Sourcetree yet whenever I try refreshing it shows that message and makes me log in for absolutely no result in the end. HTTP is working fine but SSH is just not cooperating and I need it to.


Answers:
author: Manju
body: Can you please confirm the version of Sourcetree you are using and on what OS?

comments: author: Mujo Music
body: Sourcetree 2.7.6 Mac OS version 10.13.4

Never had this issue before... and I have literally tried everything to fix it so any help is appreciated.


author: Mujo Music
body: "Could not authorize request with the available token. Please re-authenticate." ... This is what's showing up when I expand the error message.


author: Manju
body: Sorry for the issues that you are seeing. Just one other question, what host are you trying to connect?

You can also remove this account from Preferences -\> Accounts and add this account back again. Before adding the account back, please remove any keychain items for this account too.

Hope this helps. If not, please revert back here with errors, screenshots and we'll be happy to help.


Tags: error

refresh

remote

repository

ssh
Get Sourcetree v.2.5.5 MSI package without 7z.exe
Asked by Anuroop Kottamparambil:

Hi Team,

Sourcetree MSI installer contains 7z.exe and it does not allow in our organization to package due to information security compliance. Can we get MSI extension without 7z.exe in it?

Thanks,  
Anuroop Kottamparambil


Answers:
author: minnsey
body: Hi  

Thanks for the feedback. We are not currently planning on removing 7z.exe from the distribution.  

However could you expand a bit more on the problem and we can then discuss it more thoroughly within the team.
SourceTree Authentication failed each time the IP address change
Asked by Croben Games:

Whenever my IP address changed, I had to re-authenticate in order to push/pull I have tried the solution here [SourceTree keeps asking to authenticate again over and over...](https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-keeps-asking-to-authenticate-again-over-and-over/qaq-p/208965)

and it does work but I had to keep doing it daily. This issue occur after I updated to SourceTree 2.6.10, my git version is 2.18


Answers:
author: minnsey
body: Hi  

Thanks for reporting this, its not something we've experienced or, to be honest, tested with frequently changing IP addresses.  

There is nothing, as far as I know, that ties credentials to an IP address so they shouldn't be invalidated because of that changing.  

What host are you talking to and are you using Basc or Oauth crecentials and Https or SSH urls for the repos?


Tags: bitbucket

windows
Cannot add bitbucket account to sourcetree
Asked by Ajit (Do not use):

We have single sign-on enable for Bitbucket account. Everything was working fine till yesterday before changing my outlook password. After changing my password I am no longer able to connect my bitbucket account with source tree. There is no issue with my Bitbucket Account though. When i try to add new account in source tree using below screen 1, It takes me to another screen 2 for authentication. I provide all details but rather than adding the account against user name It open bitbucket in the window and allows me to click on repo. There is no option to move out of the window except the cancel button. After clicking on the cancel button I am again back to the first screen without user information populated. I am not able to connect my account. See below screens.![bitbucket_account.png](/t5/image/serverpage/image-id/27238i50C50F8CF0909C94/image-size/large?v=v2&px=999 "bitbucket_account.png")![bitbucket_account_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/27241i6B64391F52DE548E/image-size/large?v=v2&px=999 "bitbucket_account_2.png")


Answers:
author: Manju
body: Hi [@Ajit (Do not use)](/t5/user/viewprofilepage/user-id/1661636)

This is an issue on Bitbucket Cloud that we are aware of and actively investigating. We will have a fix on this soon. In the meanwhile, please consider generating an App password and using it in Basic Auth password field for working with Bitbucket on Sourcetree.

You can find details about App Passwords here - <https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html>  

Thanks!


Tags: bitbucket

bitbucket-cloud

cloud

mac
(How) can I do a working copy clean from Sourcetree?
Asked by Richard Eastwood:

Is there a feature in Sourcetree to clean the working copy of ignored files, unversioned files, or both? Currently I've defined a custom action to do it, but it would be nicer to use a button or context menu item for it (if one exists).


Answers:
author: Mike Corsaro
body: Hello! We don't currently support a hard-reset, but I can make a ticket for it in our internal tracker. Thanks!

comments: author: Richard Eastwood
body: Cool, thanks. Just to be clear, I'm meaning to clean the working copy of ignored build artefacts. Thanks for the reply.
Authentication failing when fetching from Bitbucket
Asked by Alan Bowman:

I have a repository that I have had cloned for some time, and "git fetch" has worked perfectly (from the terminal started from the Sourcetree menu). Up until recently, when I call it and it pops up the credential manager window. When I enter the details, I then get the following error:

$ git fetch  
Fetching submodule DUT  
fatal: ArgumentOutOfRangeException encountered.  
Specified argument was out of the range of valid values.  
Parameter name: resultType  
fatal: ArgumentOutOfRangeException encountered.  
Specified argument was out of the range of valid values.  
Parameter name: resultType  
bash: /dev/tty: No such device or address

Git then appears to lock up, requiring a Ctrl+C to return to the command line. I am using the latest embedded Git, version git version 2.17.1.windows.2.


Answers:
author: Alan Bowman
body: <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/651>

Answer seems to be to use system Git with an upgraded version of the credential manager.
Extra / appearing in pull request URLs
Asked by JohnBurgessSLG:

Recently each time I have created a pull request in SourceTree the automatic URL generated for BitBucket has an extra / in it.

![bitbucket-error.png](/t5/image/serverpage/image-id/27189iC982AF6AB08BEA7F/image-size/large?v=v2&px=999 "bitbucket-error.png")

This is leading to 404s. If I remove the extra slash the pull request loads as expected.

What is causing this? I can't seem to find any settings that relate to this.


Answers:
author: Danyal Iqbal
body: Please check your

* Repository\\Repository Settings
* Edit the properties or the remote where you want to create pull requests
* Specify the host type and URL, optionally the user
  * Supports Stash, BitBucket and GitHub

if everything looks ok than +1 for Bug.

comments: author: JohnBurgessSLG
body: Ah interesting! It appears that the remote is set differently in our newer repositories.

![st-remote.png](https://community.atlassian.com/t5/image/serverpage/image-id/27207i77CE4AB5129B24F3/image-size/large?v=v2&px=999 "st-remote.png")

If I reselect BitBucket from the list the automatically populated URL doesn't have the slash. I don't remember changing any settings recently.

I'll get my team to manually check this setting on all their repos.

Thanks for the help!


Tags: bitbucket

pull-request

url

windows
How to stop opening all remote repositories when starting sourcetree
Asked by ????:

I would like to keep close remote repositories when starting sourcetree.

I look for the function for it, however, can't find.

Sorry if this is too basic question.


Answers:
author: Mike Corsaro
body: Hello! If you're on windows, you can do this by changing the "Re-open repository tabs at startup" checkbox in Tools \> Options \>General

comments: author: ????
body: Hi Mike.

Thank you very much for your reply, but unfortunately, I am using Mac.  
Then, I tried setting "re-open window" disabled after your reply, it won't work.


Tags: mac
First log in in sourcetree.app
Asked by vevt:

OS X 10.13.5  
SourceTree 2.7.3 or 2.7 or ... 1.9

After first open sourcetree I can't log in my account on 3-rd step. I press \<\<log in\>\> and.... nothing....

P.S. my account true, and I tryed login on <https://id.atlassian.com/profile>

P.S.2 I disabled the Adblock and firewall

![?????? ?????? 2018-07-18 ? 0.30.01.png](/t5/image/serverpage/image-id/27149i80906DCBCDE4A143/image-size/large?v=v2&px=999 "?????? ?????? 2018-07-18 ? 0.30.01.png")


Answers:
author: vevt
body: Woohoo! I hacked this bug!

<br />

1. Write your email in "log in" textEdit  
2. Push the "log in" button  
3. Push the "Ca't log in?" button  
4. Push the "back to log in" button  
5. After that you will see "password" TextEdit!

this is amazing........


Tags: mac
Existing Child Page Edit Restrictions Not Inherited
Asked by Ronit Gieske:

I'm trying to restrict a parent page and all of the existing child pages under it from being edited and have noted that the child pages do not inherit the restrictions after the fact.

They only inherit the restrictions if you create new child pages after you change the restriction settings on the parent page. Any workarounds?


Answers:
author: Mikael Sandberg
body: This is expected, edit restrictions are not inherited down from parent to child pages. Please see [When content is inheriting restrictions from parent content](https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/#When-content-is-inheriting-restrictions-from-parent-content) for more information.


Tags: cloud

confluence-cloud
Is there a way to manually enable whiteboard in my space ?
Asked by Antoine Mougeot:

Hi,  

I just created a Confluence space for a new project. I chose Confluence because I already use it for similar projects and I find the whiteboard feature be a great addition because it let's you have documentation + brainstorming in a single app.  

Whiteboards are enabled in my existing confluence projects but doesn't seem to be available in my newly created space. I activated database using the beta feature but whiteboard option isn't there anymore.  

Is there anything I can do or I should wait for a global rollout ?  

Thanks for the support :)  

Antoine


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Antoine Mougeot](/t5/user/viewprofilepage/user-id/5414488) and welcome to the Community,

have you created a Space within an existing Confluence Site or have you created a new Confluence site?

Whiteboards are enabled in the Product settings and will then be available globally for the site, e.g. for all Spaces on the site.

If you created a new Site and you are the Product Admin you can check the Confluence Settings for Beta Features. Not sure if they are still available to all and in a Free plan though.

comments: author: Antoine Mougeot
body: Hi [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) and thanks a lot for your answer.  

In between my first message and now, Whiteboard appeared alongside Database in the beta features. It's strange but I now have everything I need !

Best,

Antoine


Tags: cloud

confluence-cloud
Template Import tab not appearing
Asked by Anuj Batta:

When i edit a page and i see template and Impot tab is not appearing

But when i create new page then template Import tab are visible

How to get in existing page


Answers:
author: Amanda Barber
body: For an existing page, you can use a template by typing a slash and then template. I don't believe you can import anything once the page has content.


Tags: cloud

confluence-cloud
Can I edit macros using REST API.
Asked by Shreyansh Khale:

Is there a way that I could edit confluence macros using REST API.

I want to use Python to update JQL (Jira Query Language) query within Advanced table (JQL Tables) macro on a Confluence page.


Answers:
author: Peter Van de Voorde
body: Hi [@Shreyansh Khale](/t5/user/viewprofilepage/user-id/5414438) ,  

Welcome to the Atlassian Community.   

This sounds a question better asked on the Developer Community here: <https://community.developer.atlassian.com>   

Here is a potential answer to your question: <https://community.developer.atlassian.com/t/how-to-update-macro-parameters-via-rest-api/49503>   

Cheers,  
Peter


Tags: cloud

confluence-cloud

html-macro

rest-api
Is there a way to change the colors in the Pie chart macro in Confluence?
Asked by Dennie Carter:

I am adding multiple instances of the pie chart macro to a Confluence page. Each are based off a different filter. I would like the colors of the states to remain consistent throughout the page. For Example, the state of "done" to show as Green. Since each pie chart has a different amount of states (ie one filter currently has records in 3 states, the other in 4) the colors are not consistent. Hopefully there is a way to do this with the standard macros.


Answers:
author: Stiltsoft support
body: Hi [@Dennie Carter](/t5/user/viewprofilepage/user-id/5271092) ,

The [Table Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?hosting=cloud&tab=overview&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app (that is our add-on) may help your case.

You'll be able to select colors for your statuses from the additional column of your source table, so that the consistency will be maintained. <https://docs.stiltsoft.com/tfac/dc-server/pie-and-donut-chart-tyres-140936105.html#PieandDonutchartty?es-Setcolors>

For example, no matter if your source table is a manually created table or comes from the Jira Issues macro, you can group it by statuses and then assign a special color to this or that status (with the help of the Pivot Table and Table Transformer macros that also come with the app). You apply the same condition for all the tables and all your Pie charts will use the same color scheme no matter how many statuses are present in the chart at this precise moment.


author: Nikola Perisic
body: Hello [@Dennie Carter](/t5/user/viewprofilepage/user-id/5271092) ,

![Screenshot 2024-01-25 at 15.29.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/302528i22B4F029295456B9/image-size/large?v=v2&px=999 "Screenshot 2024-01-25 at 15.29.36.png")

This a default pie chart in Atlassian, and there is no option to edit the colors of the each part.

Testing results from other chart like applications:

* Charts.js - app is not functioning properly
* Quickinsights - doesn't give the option to add a macro within a page when you search for it
* Custom Jira Charts for Confluence - give the error when the app is started
* MUC Editor - doesn't work really good

Overall, like [@Charlie Misonne](/t5/user/viewprofilepage/user-id/502263) said, this is not possible sadly.


author: Charlie Misonne
body: Hi Dennie,

I'm afraid that's not possible. There was a feature request for this but it was not implemented: <https://jira.atlassian.com/browse/CONFCLOUD-41625>

Some plugins can do it however.


Tags: cloud

confluence-cloud

filter

macro

pie-chart

table

table-filter

table-filter-and-charts