youngmon/atlassian-qna huggingface dataset:
How I skip manual step in bitbucket pipeline
Asked by prima101112:

Case: we have canary setup using argocd rollout and need to

1. pausing pipeline (we could do this with manual trigger)  
1. manual promote the version if the version is success  
2. undo if the version if failed  

how could i do that since pipeline is just one way. either i promote or undo the deployment.   

there is some work around to make one of them is on custom pipeline. but thats not we expect of a pipeline. is there any way we got 2 buttons or option on manual pipeline like continue or abort with different step executed when abort or continue  

please give us advice or is it still not possible now?


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

I'm afraid that there is no way to skip manual steps at the moment.

The workaround is what you mentioned already, you can create a custom pipeline for each of these steps and then manually run the custom pipeline you want each time.

We have a feature request to include a skip option on manual steps:

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

Since you'd be interested in that feature, I would suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Downgrade from Datacenter license to Server license
Asked by Teddy Ma:

Hi Atlassian Support,

Our bitbucket server is currently in a status we don't know how to upgrade. Please help us!

We bought the license below before, the support period is ended:

Bitbucket (Server) 100 Users: Academic License Renewal  
- Support Entitlement Number: SEN-5981117  
- Support Period: 03 Jul 2019 - 03 Jul 2020

But recently, because of some new vulnerability reported, we urgently upgraded our server to a new version v7.9.1 and applied a trail datacenter license temporarily. It is still a non-cluster single node instance for sure.

We have decided to extend our server license for another two years, but our question is, if we extend our server license's support period, I assume the license we can download will still be a server license. But can we apply the updated server license on our current instance which has been with the trail datacenter license applied? We have huge data in the server, to reinstall will not be an acceptable option. We want a solution to upgrade without data lost to the latest LTS version and apply the extended server license.

Looking forward to your feedback. Please guide us how to do.

Thanks in advance!


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to talk to Atlassian to get your server licence renewed (you can't get new licences any more, but you can still extend existing ones)

You will find a new key for Server will work fine on your system. The licences affect functionality flags (you'll lose access to archiving when you go from DC to server for example) and user access (the licence determines maximum number of active users), but not the code or data.


Tags: bitbucket-server

server
Connect Power BI to Bitbucket via API - Authentication Issue
Asked by Raissa Amaral:

Hi,

I'm trying to connect the bitbucket API to PowerBI by using the API. I understand I should be using the Basic authentication with the token, which does work for the connction with JIRA. But for some reason when connecting to bit bucket I get the authentication error:  

![image.png](/t5/image/serverpage/image-id/200236iD2AB1CEC67F57C14/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Raissa Amaral
body: Ok, I've figured it out. For BitBucket connection we should not use the token API (as it is for JIRA and Confluence), instead, we should create app passwords for Basic Authorization.

Stated in this line of the documentation:  
<https://developer.atlassian.com/cloud/bitbucket/rest/intro/#basic-auth>


author: Gleison Goulart Gon?alves
body: N?o consegui conectar. Criei a senha de aplicativo, mas n?o vai pelo conector WEB. Como voc? fez?


Tags: api

bitbucket-cloud

cloud

power-bi
Change graph style from SourceTree to mimic the Bitbucket one
Asked by Xavi Moll:

Screen Shot 2016-11-21 at 11.14.50.png Screen Shot 2016-11-21 at 11.15.23.png

Is there any way to display the git graph in SourceTree as it's displayed in Bitbucket? The first image is from Bitbucket and it's what i would expect (green line is develop, clear blue is master and deep blue, pink and yellow are feature branches). The second one is from SourceTree and every line is a merge from develop (blue) to master (pink). I don't want to see up top the merge commits from months ago from develop to master. Bitbucket displays it the way that i expect it.

Thanks!  
[](https://community.atlassian.com/t5/Sourcetree-questions/Change-graph-style-from-SourceTree-to-mimic-the-Bitbucket-one/qaq-p/4899?attachment-id=6314){#link_1168af81b658a8}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/109/1/Screen%20Shot%202016-11-21%20at%2011.15.23.png){#display_1168af81b658a8_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Change-graph-style-from-SourceTree-to-mimic-the-Bitbucket-one/qaq-p/4899?attachment-id=6315){#link_1168af81b658a8_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/109/2/Screen%20Shot%202016-11-21%20at%2011.14.50.png){#display_1168af81b658a8_2}


Answers:
author: Seth
body: To start, try changing the sort from Date Order to Ancestor Order. I prefer Date Order, but Bitbucket (your stated preference) seems to be ancestor order.

I can't tell how Bitbucket is handling the merges to master, because the Ancestor order results in those commits being pushed out of the viewable area.

comments: author: Xavi Moll
body: OMG! The sort by 'Date Order' did the trick. Thank you so much! ?
How to remove all traces of SourceTree
Asked by nik_rimington:

Hi,

I'm having a MAJOR issue with sourcetree in that it cannot connect to any repository at all. I've tried uninstalling and re-installing. I've tried deleting the entries in appdata and programdata however when I re-install the error still exists.

How can I removal all traces of the software to effectively have a completely clean install?

OS: Windows 7 x64

Symptoms of issues:

Click add repository, choose clone, enter url to repository.

Instead of getting prompted for a username/password I just get a "invalid url" type message and when I click the details it is a 403 error. However it never allows to to put in a username/password. Even adding it in manually in the accounts section doesn't work.

Using the same repository on another machine works with no issues, so I simply want to remove all traces and start again to see if it resolves the issue.

Thanks,

Nik


Answers:
author: Seth
body: Not sure, how to do a complete uninstall. I've seen others ask a similar question in an attempt to get the "connect to Bitbucket/Github" wizard to run again. There's probably some registry values that would need deleted.

In regards to the 403, you might try different protocols (https vs ssh) as they handle authentication differently. You might need the username to be specified in the URL (...://username@[example.com](http://example.com)) or for authentication to be handle with a keypair and an ssh key agent.

comments: author: nik_rimington
body: Hi Seth,

I did wonder about that, but when I used exactly the same url on another machine (set up in the same way) it all worked as I would have expected.
Mercurial not found
Asked by rickborup:

After updating TortoiseHg from v3.9.2 to v4.0, SourceTree now reports "Mercurial not found" when launched. The Mercurial executable file hg.exe still exists in C:\\Program Files\\TortoiseHg. The SourceTree dialog has a "Browse to the location of Mercurial" button, but it does not do anything (expected behavior: a file explorer window would open so I could point to hg.exe; observed behavior: no explorer window opens, and the SourceTree dialog simply reappears with the same message). Is anybody else seeing this? Does SourceTree perhaps not recognize Mercurial v4.0? (Windows 10 Pro, 64-bit, SourceTree 1.9.6.1).


Answers:
author: Mojm?r Nebel
body: Just installed fresh 1.9.10.0 on a clean machine. Same problem, it wouldn't let me use the system git and mercurial. I had to let the application download internal ones as there was no other option to use it.

The "use system mercurial" button in the Options does nothing.

comments: author: rickborup
body: FWIW, the "Use System Mercurial" button still does nothing in SourceTree v2.0.19.1. Like you (and others, I'm sure), I'm stuck with SourceTree using its out-of-date embedded version of Mercurial, 3.7.3, although the latest Mercurial 4.1.3 is installed and working on my machine.


author: rickborup
body: Follow-up: SourceTree v1.6.22.0 does not have this problem. The issue manifested in 1.9.6.1 and 1.9.6.2, but went away when I uninstalled and reverted to 1.6.22.0.


Tags: mercurial
SourceTree completely lags out when there is a merge conflict on a large file
Asked by Gerald Lang:

Hello,

I have been using SourceTree for a while now, and really like it.

However, recently my project started getting larger files in it (large .prefab files from the Unity game engine) that are tracked on Git LFS, and are merged by a custom merge tool. Whenever I get a merge conflict in one of these files, SourceTree immediately becomes unresponsive due to lag, and I cannot do anything to resolve the conflict.

Does anyone have any advice on how to deal with this? Perhaps a command line workaround to run "Launch External Mergetool" from the SourceTree command line? Or perhaps a way to stop SourceTree from trying to load whatever it is loading, and just allow me to click 'Launch External Mergetool'?

Best,

Gerald


Answers:
author: Seth
body: You might try lowering the "Max ..." and/or "Size Limit" settings in Tools \> Options \> Diff.


Tags: git
How to get Sourcetree through proxy when username contains @ sign
Asked by Phil Boyd:

Our school just upgraded the method for authentication for our proxy. Our new usernames now contain an @ sign in them, and it appears that this maybe causing some issues.

Actual problem: Cannot get through the proxy, whether using manual or OS settings from the Network config page. Couldn't auto install git, can't clone a repo now that I've manually installed my own git, as Sourcetree can't get through the proxy to check my bitbucket.

I am absolutely certain of my username, password and the proxy details. Windows already has a fully set up and ready proxy config saved locally, but it apparently can't use that (or isn't for some reason). Even manually telling it the proxy address it just either gives error 407 or when cloning says "Proxy authentication required".


Answers:
author: Paul Miller
body: same problem here. I've tried URL escaping by changing "@" to "%40" but that didn't work either.
Sourcetree 2.3.2 on OSX - Where have my diffs gone?
Asked by jackjansen:

Just updated to source tree 2.3.2 on OSX from some pretty old version. I won't complain about the new toned-down look, but I do complain about not being able to see my diffs.

I select a commit in the main browser. The commit message and such show up in the bottom-left pane. The filenames that are part of this commit are missing, however. In the bottom-right pane I see the diffs for one of the files that was modified in the commit. But: only for one file. Sometimes (for some commits) if I select "tree view" in the pulldown above the commit message I get a second file in the diff pane. Usually not, though.

What am I missing? How do I see the files that were changed in the commit? How do I see the diffs?


Answers:
author: Seth
body: The panel should still be there, but it may have gotten collapsed for some reason. See if there is a small area to the left of the file diff that you can drag to the right.

comments: author: jackjansen
body: Indeed, thanks! It wasn't a divider to the left of the file diff but a divider above the commit message.

Unbelievable, a UI with 1-pixel wide white divider lines on a white background:-(


author: Seth
body: Yeah, it's been a long-standing complaint that panels can be collapsed to 0 height/width with such a small divider to grab. If you searched jira.atlassian.com, you could probably find a bug report to vote up.
dot source tree graph
Asked by Qiuxiao (Cash) Mu:

image2016-11-17 15:23:7.png

Hi guys,

Any chance you could explain to me what is the dot, right before master, and right after origin/HEAD, means?

it also seems this dot can appear anywhere in between the branches we have. for example, it might appear before origin/master as well, some times.

Thanks for the help!

[](https://community.atlassian.com/t5/Sourcetree-questions/dot-source-tree-graph/qaq-p/24020?attachment-id=9159){#link_1168b01079c854}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/709/1/image2016-11-17%2015%3A23%3A7.png){#display_1168b01079c854_0}


Answers:
author: Seth
body: The dot should appear to the left of the branch you have checked out as your working copy.

comments: author: Qiuxiao (Cash) Mu
body: Thanks Seth! brilliant answer, exactly what I wanted to know.
Where are my deleted files?
Asked by Christian R:

I set up an repository. After an initial commit I noticed an error. So I thought it was the easiest just to delete the whole repository and set it up again one more time... I deleted the repo on bitbucket, then proceeded to delete the local repository in sourcetree. However I (dumb as sh't) thought it would only delete the repository entry in sourcetree and NOT my whole file structure! It's not in the recycle bin! Please don't tell me Sourcetree just deleted days and days of work and I can't revert it! ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


Answers:
author: Seth
body: When you deleted the repository, SourceTree asks whether you want to delete the bookmark or the entire repository.

image2016-11-16 13:11:4.png

If you clicked "Delete Repositories on Disk", then SourceTree deleted them. I am very confident that it did not use the Recycle Bin. In my experience, most applications bypass the recycle bin if they delete files, so that's fairly typical, even though it may not be optimal.  
[](https://community.atlassian.com/t5/Sourcetree-questions/Where-are-my-deleted-files/qaq-p/232961?attachment-id=5040){#link_1168b0254a14fa}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/6760/1/image2016-11-16%2013%3A11%3A4.png){#display_1168b0254a14fa_0}

comments: author: Seth
body: You might try to download and run a disk recovery tool to see if you can recover your deleted files. A google search for "recover deleted files" is a good starting point for that. The sooner you do so, the more likely you are to succesfully recover your data.
wrong Crendential
Asked by Prabhdeep Gill:

Sourcetree keeps asking for password when trying to connect github. Same password works for github directly


Answers:
author: Seth Foss
body: Do you have two factor authentication enabled for your github account? If so, you can't use your normal password, you need to set up an access token:

<https://confluence.atlassian.com/sourcetreekb/two-factor-authentication-2fa-with-github-in-sourcetree-402033499.html>
Bitbucket - SourceTree browser integration
Asked by Randy Proctor:

*This question is in reference to Atlassian Documentation: [Create a Git or Mercurial repository](https://confluence.atlassian.com/pages/viewpage.action?pageId=760120240)*

I have installed the SourceTree client, so why can't I see the SourceTree section on the empty repo overview page?


Answers:
author: Seth Foss
body: The documentation is outdated. That's no longer part of the Bitbucket overview screen. When it was, it didn't make any effort to detect whether SourceTree was installed - SourceTree doesn't integrate into the browser. The closest thing is that it registers with the OS as an application that can handle URLs that start with the sourcetree:// protocol.

The easiest way to clone from Bitbucket (empty repository or not) is to use the [Hosted Repositories](https://confluence.atlassian.com/sourcetreekb/viewing-remote-hosted-repositories-780870170.html) feature.


Tags: bitbucket-cloud

documentation
How can I programatically determine if I am using embedded git in sourcetree?
Asked by Brian Tucker:

Is there a way to determine if a windows user is using embedded or system git in sourcetree by examining a config file or running any commands in a terminal? I am aware of how to determine this by looking in Tools-\> Options -\> Git. However, this does not meet the needs of our shop as several of the custom git hooks we use are just incompatible with the embedded git. We have a tool that will detect incorrect configuration issues in most of our applications and I would like to be able to check to see if someone is using embedded git.

Are there any config files that show if it is enabled or not? The closest thing I can figure out is looking for the git_local folder but once its been enabled this folder is present even if the user switches back to using system git.


Answers:
author: Brian Tucker
body: ok found it. In %APPDATA%\\local\\Atlassian\\Sourcetree.exe_hashHere\\versionNum\\user.config there is a line:

\<setting name="GitWhichOne" serializeAs="String"\>  
\<value\>1\</value\>

which has a 1 for system git and 0 for embedded


Tags: git
SourceTree commit doesn't do anything
Asked by Henry Padilla:

In VSTS I have pulled the master, branched, made a change, staged the change, and clicked Commit and nothing happens.

I tried using a repo in GitHub. I pulled the master, made a change, staged the change and clicked Commit... and nothing happens.

What do I have to do to commit a staged file?


Answers:
author: David Bernstein
body: Same issue.   
I have been using the terminal window to issue the commit.  
everything else I can do in source tree.

comments: author: Francisco Camargo
body: Just got Sourcetree on a new laptop and I have the same issue but the terminal has worked to get around this.


author: Seth
body: Ok, that's very helpful. TL;DR - Looks like a bug.

Firstly, committing NEVER needs credentials. Commit is a local operation - it does not interact with remote repositories. Now, you're using SourceTree, which has a checkbox to automatically Push, which is a remote-interacting operation, so you may get both grouped together (you don't have that box checked though).

When you say you're pushing the commit button, I assume at this point that you are hitting the bottom-right button to try to actually finalize the commit (as opposed to the top-left button, which brings you to the view in the screenshot). Everything in the screenshot looks right and ready to commit. If the Commit, Commit Options.., and Recent Comment (clock) buttons aren't responding, that's got to be a bug. Nothing about the state of your repo should be preventing SourceTree from doing those operations.

You can report the bug to jira.atlassian.com. Hopefully Atlassian staff will be on top of it, and help you find the application logs they need to identify what's going on.


author: Henry Padilla
body: I'm only hosting the Git repo in VSTS. All the actions have been done in SourceTree.

I get the feeling it's asking/waiting for credentials but I can't see any way to get credentials to the app. I tried adding my credentials to the git config but that doesn't change anything.

The "Commit Options..." dropdown and the clock button do the same thing - Just don't respond.

SourceTreeCommit.jpg

[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-commit-doesn-t-do-anything/qaq-p/360353?attachment-id=1708){#link_1168b099fba0ed}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/10788/1/SourceTreeCommit.jpg){#display_1168b099fba0ed_0}


author: Seth
body: Can you upload a screenshot of SourceTree's current state?

Also, why are you pulling, branching and staging in VSTS, but committing in SourceTree?
SourceTree repo-stash style solutions?
Asked by Oliver Smith:

Working on a feature, spot a piece of dead code, take me 5 seconds to remove and commit it. But it's not related to my feature.  

Could remove \& stash, but over the course of a feature, stash list can become quite long, and when working with a team, there might be frequent overlap. A shared, repos-based stash wouldn't help there because stashes aren't supposed to conflict.  

So what I'm left with is the notion of having a "cleanup" workflow/branch, and as individuals work from ReleaseX branches, they can fire-off their cleanup touches like this to ReleaseX-cleanup.  

Is such a thing possible with SourceTree? Commit to another branch (even if its very limited, still useful)?


Answers:
author: Seth
body: Not really possible in Git, so not possible in SourceTree. You would need to switch to the other branch when you don't have anything else uncommitted (and hope that the file you modified is otherwise the same between the two branches), commit that file, then switch back.
How do I link my bitbucket account after having completed the setup wizard?
Asked by Joel Wadagnolo:

I finished the SourceTree setup wizard and there was an authentication failure when I tried to link my BitBucket account (I think that I just entered the wrong password) and when I launch the application I cannot find a way to add this in now. I tried uninstalling the application and installing it again hoping that it would walk me through the wizard again but to no prevail.

Any help here would be much appreciated, thanks!


Answers:
author: Seth
body: You want to manage your hosted repositories.

<https://answers.atlassian.com/questions/44100716>

comments: author: Joel Wadagnolo
body: Thank you for this information. I found out that I needed to change it from a Bitbucket account to Bitbucket server account (and then provide my local Bitbucket server address) but I most likely would have not thought to look under: V**iew -\> Show Hosted Repositories** so for that, I thank you very much!

Anyone experiencing this or a similar problem should start with the link that Seth posted. You should be able to add/remove/edit accounts there.