youngmon/atlassian-qna huggingface dataset:
crucible: how copy/paste code?
Asked by J?r?me Pouiller:

While reviewing, cruicible does not allow to select and copy code. Any idea to solve that?


Answers:
author: Manon Soubies-Camy
body: Hello [@J?r?me Pouiller](/t5/user/viewprofilepage/user-id/1621019),

Not sure it's still up-to-date, but have you checked the solution proposed in this thread: [Copy and Paste from Crucible Diff Screen](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Copy-and-Paste-from-Crucible-Diff-Screen/qaq-p/9690)?
> One of the hidden features of crucible is that you can **alt+select** text to copy and paste it.

Hope this helps,

- Manon

comments: author: Andrei Merenkov
body: By the way this suggested way of selecting the text will not work properly. As text will be selected with line number included in selection.

That sad fairly.


author: Andrei Merenkov
body: I assume that it is very unpleasant to use non standard way to copy-past on Code Review/Collaboration tool in 2019.

This "feature" drives me mad personally my every working day.
crucible: where is my comment when I change file?
Asked by J?r?me Pouiller:

While reviewing in crucible, if I do:

* start a comment in a file A (Curcible says "Autosaved")
* then I select another file B (typicaly to check something) and I select a line in this file
* then I come back to file A
* my comment seems lost

Any idea to recover my comment?

EDIT:

In fact comment is saved, but I need to refresh my browser to make it apears.


Answers:
author: Rodrigo M
body: Hello J?r?me

It seems this is the default behavior of a comment that it's not manually saved.

Besides that, after changing from the current comment to another page and getting back, the comment will be saved as a [DRAFT](https://confluence.atlassian.com/crucible/commenting-on-reviews-298977448.html#Commentingonreviews-Draftcomments), requiring the user to POST the comment before completing the review.

Regards

Rodrigo

comments: author: J?r?me Pouiller
body: Yes, I saw that. However, I need to refresh my browser in order to show my draft comment.

Since I have a work around, I can consider my issue as resolved.
How to switch from expired SEN to starter license
Asked by Advs:

Hi,

We have a 5 user starter license for crucible / fisheye and an expired 250 user crucible license.

Our app has expired crucible SEN# and 5 user fisheye license. How can I change expired crucible SEN to starter license?

Thanks,

Pradeepthi.


Answers:
author: Andy Heinzer
body: Hi [@Advs](/t5/user/viewprofilepage/user-id/511977)

Please see the KB [After purchasing and applying a license FishEye reports that the maximum number of users has been exceeded](https://confluence.atlassian.com/fishkb/after-purchasing-and-applying-a-license-fisheye-reports-that-the-maximum-number-of-users-has-been-exceeded-792505095.html)

Since your moving from a 250 user license down to a starter license you will need to make some adjustments to select which 5 users will have application access. For fisheye, application access is being granted to users in the 'fisheye-users' group.

In your case, you would only want to keep 5 users in that group and remove the rest.

I hope this helps.

Andy
crucible: any way to show tabs and trailing blanks?
Asked by J?r?me Pouiller:

In some languages or coding styles, tabs are important. However, Crucible does not show them. Aanyway to display them?


Answers:
author: Themis
body: Hi J?r?me,

at the moment, this is not possible, however there is a feature request for implementing such functionality: <https://jira.atlassian.com/browse/CRUC-189>

Feel free to watch and vote for the issue, as votes help increase the priority of feature requests.

You may also find the following community thread useful:

[How do I show whitespace (tabs, spaces) in a crucible review?](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-do-I-show-whitespace-tabs-spaces-in-a-crucible-review/qaq-p/29001)

Hope this helps!

Themis
crusible: "view as patch" create a patch incompatible with git
Asked by J?r?me Pouiller:

Patches generated by "view as patch" has to be applied with "patch -p0" (= there is no directory prefix). However, "git apply" (and most of other tools that work with patches) accept patch that could be applied with "patch -p1" (= one directory prefix). How to fix that?


Answers:
author: Aaron
body: Hello Jerome,

Welcome to the Atlassian Community!

If you take a look at [our creating patch files documentation](https://confluence.atlassian.com/crucible/creating-patch-files-for-pre-commit-reviews-298977458.html), we don't mention using git apply. We read patch files as git diff \> nameofpatchfile.txt and you can upload it to the Crucible review directly. I'm not 100% sure on if you are saying you are unable to upload the patch successfully or if you are expecting a different format. If I didn't answer your question, please help me understand what I have missed.

Regards,  
Aaron Levinson  
Dev Tools Support Engineer
just bought license, now repository is down after entering new license
Asked by dead mike:

Failed to start repository SDi: Problem loading repository 'SDi' - Current repository index is not compatible with your license, please re-index.


Answers:
author: eric_gagnon_banq
body: It's the 10 historic committers limit per repository that is in cause (we have 11 because people people come and go).

<https://community.atlassian.com/t5/Fisheye-Crucible-questions/FishEye-and-Crucible-License-limit-reached-indexing-stopped/qaq-p/737196>


author: dead mike
body: nevermind, that error was misleading.

NOW maybe someone can tell me how to delete this post?

comments: author: Ben Stuart
body: I'm not sure I understand what happened exactly, but we could always file an improvement request to make the error clearer. Can you better explain what happened and how you resolved this? Maybe one of our other customers will have the same problem and stumble on this post. If this is nothing other customers can benefit from, we can remove the post.


author: dead mike
body: there is no way to properly account for and right size our understanding for which license is appropriate. DESPITE the fact fisheye tracks all that, those limits using the free version (to test) was not readily apparent.

thus, i mistakenly believed, under the current operational parameters, we wouldn't need to spend 110x more to license the product.

this was not true, we hit the historic limit, which has no current operational bearing, but would seem to be an arbitrary decision of how to generate sales, it would seem.

after buying the license, it stopped at 38% and wouldn't budge. after some research, it was determined that the only thing as that some recording feature on historical commits.

for our needs, this is not that important and has clarified thinking to maybe just move to git or improve upon an open source indexer, svnfind.


author: dead mike
body: in any case, it definitely moved us squarely away from consideration of your product.


author: eric_gagnon_banq
body: I stumbled on the exact same issue. I was using the trial and updated to the 5 user licence (bough fisheye and crucible). We are two user, one repo but having quite a voluminous history.

From what I read here, it suggest that it could be a limit from the licence but there was no mention of that from what I remember (I will double check).

I'll try to search some more and try to restard the indexation tonight....

Anyway to confirm that it's not voluntary limit?

Everything went fine for the month we used the trial.


author: eric_gagnon_banq
body: I will try what is suggested here : <https://confluence.atlassian.com/fishkb/fisheye-crucible-repository-index-is-corrupted-297671552.html>
I want to know step by step process for Crucible and FishEye for both MAC and Windows.
Asked by hitesh kumar dewangan:

i came across Crucible and FishEye while browsing, is it paid version or free? can you explain step by step process for Crucible and FishEye for both MAC and Windows.

I would like to do some POC before introducing this to team.   

please guide me


Answers:
author: Aaron
body: Hello Hitesh,

Welcome to the Atlassian Community!

We have a ton of documentation on this.

* [Crucible and Fisheye with Getting Started Link](https://confluence.atlassian.com/crucible/crucible-and-fisheye-298977540.html)
* [Installing Fisheye on Windows](https://confluence.atlassian.com/fisheye/installing-fisheye-on-windows-298976960.html)
* [Installing Fisheye on Linux and Mac](https://confluence.atlassian.com/fisheye/installing-fisheye-on-linux-and-mac-298976962.html)
* [Supported Platforms for Production Level Instances](https://confluence.atlassian.com/fisheye/supported-platforms-298976955.html)
* [Fisheye Licensing and Purchasing](https://www.atlassian.com/licensing/fisheye)
* [Crucible Licensing and Purchasing](https://www.atlassian.com/licensing/crucible)

That should get you started! Fisheye and Crucible are bundled together since they work so close to each other. The download steps are basically the same for one or the other, but the download name (fisheye vs crucible) denotes which license you MUST have to install it for the first time setup. So if you buy only Crucible, download the Crucible installer. It will ask if you have a Fisheye license after putting in the Crucible license as an option, but the Crucible license isn't optional (vice versa for Fisheye). Also, you can simply download an evaluation license on my.atlassian.com so you don't have to pay a thing while you test things out to see if Fisheye/Crucible is good for you and your team!

Regards,  
Aaron Levinson  
Dev Tools Support Engineer
crusible: how to get whole chanset in one page during review?
Asked by J?r?me Pouiller:

When a changet set modify a few lines in plenty of files, it is convenient to have all modified files on one page (as in output of "git show"). How to do that?


Answers:
author: Aaron
body: Hello Jerome,

Welcome to the Atlassian Community!

I'm not entirely sure what you are looking for. You can get all of that from the review page. You have all of the files in the changeset on the left and up top, you have all of the commits that are in the review. You can drag it around to have to changes between the specified commits. See my screenshot below. If you could elaborate as to what this is missing, please let me know.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/26817iDBFA64D541AE073A/image-dimensions/477x129?v=v2 "image.png")
crusible: how to change default view settings?
Asked by J?r?me Pouiller:

Crusible always reset view settings (3 lines of context, hide insignificant whitespaces, ignore blank lines). How to change them definitely?


Answers:
author: Caterina Curti
body: Hi [@J?r?me Pouiller](/t5/user/viewprofilepage/user-id/1621019),

Each user can update the **Context lines** in the **Diff view** by updating the personal user's profile. More details are available on the [Changing your user profile](https://confluence.atlassian.com/fisheye/changing-your-user-profile-298976815.html) page.

The other two options cannot be up set permanently.

Cheers,

Caterina - Atlassian
Digital signature certificate has expired
Asked by dwight smith:

I downloaded the SourceTreeSetup-3.4.10.exe for Windows. However, when I right click on the executable and look at the properties, the Certificate with the Digital Signature expired 11/27/2022. This causes a security error when I try to open Sourcetree from BitBucket.

Is there a way to update the certificate to give it a new "Valid From" date range? Or will there be a new version with an updated certificate?


Answers:
author: Vipin Yadav
body: Thanks for the info. We are found it expired and working on release new build 3.4.11 next week with new certificate.

Thanks,

Vipin

comments: author: Jason Brinkmann
body: Any update on when the new version will be released?

Some of our developers are not able to connect to Bitbucket because of the expired cert.


author: Andrew Dev
body: Link to Bug for reference: <https://jira.atlassian.com/browse/SRCTREEWIN-13956>
Difference between pull and fetch on sourcetree
Asked by Mark Steben:

I am new to sourcetree. I currently update our remote devops repo with database ddl from my local folder, also defined to sourcetree. Could you explain the difference between 'pull' and 'fetch'? Trying to wrap my head around the concepts of sourcetree and the procedures built to get those concepts done.


Answers:
author: Mikael Sandberg
body: Hi [@Mark Steben](/t5/user/viewprofilepage/user-id/5096306),

Welcome to Atlassian Community!

The difference between Fetch and Pull is that Fetch tells the local repository that there are changes in the remote repository without bringing those changes into the local repository. I would recommend taking a look at [Learn Git](https://www.atlassian.com/git), it has tutorials, news and tips for Git.
I cannot pull/push with sourceTree but I can login fine in bitbucket.
Asked by rodismusic:

I tried to generate App password on Atlassian and used that. Then I went to sourceTree Options/Authentication and I click to refresh password. Entered that generated password and it said Athenticated! Then I go to pull and it failed. This used to work with a previous version of sourceTree!

It fails even if I put in my Atlassian password!!


Answers:
author: Micha? S
body: On bitbucket.org go to left panel and click Personal Preference. In Left panel then click App Passwords. Create your password.

Go back to SourceTree and in the SourcePath paste "<https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git>". Where USERNAME is your bitbucket username and the APP_PASSWORD is the password you have generated in previous step.

This worked on my Windows, after 2h fight :(  


author: Ben
body: G'day!

Thank you for contacting Bitbucket Cloud Support.

The most common issue customers are experiencing related to authentication in SourceTree is due to the deprecation of GIT username/password in favour of App Passwords:  
<https://bitbucket.org/blog/deprecating-atlassian-account-password-for-git-and-bitbucket-api-activity>  
We have a blog post however which explains the steps to troubleshoot this issue, please follow all of these steps accordingly (including uninstall/re-install) and this should resolve the issue:  
<https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968>

When you are authenticating **GIT over HTTPS** to push/pull you will need to update your remote URL's to include the **AppPassword**:

```
git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git
```

The same applies when performing git clone:

```
git clone https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git
```

I would suggest ensuring also that all stored passwords related to authentication over GIT are cleared from your machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket

bitbucket-cloud

cloud
SourceTree not showing the diff just says 'select a file to view the diff'
Asked by Phill Ashworth:

When I select a modified file the diff isn't shown in the adjacent pane, it just says "select a file to view the diff" even though I have selected a file. Some files correctly show the diff but others don't.  
I'm on the latest 3.4.10 version.  
Any ideas how to fix this?

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


Answers:
author: Philippe Cloutier
body: Good question. My colleague and I are evaluating Sourcetree 3.4.12 and both of our installs are affected. Sourcetree is at its defaults, using the embedded Mercurial 4.8.1, which surprisingly appears to be the latest one available. Trying to use a system Mercurial seems to fail, although there is no error.

We first thought all files were affected, but my colleague noticed the side diff works for .hgtags.

comments: author: Philippe Cloutier
body: This is a 3.4.10 regression. My colleague and I both went to 3.4.9 and that fixed it for us.


author: joedf
body: Downgrading from 3.4.14 to 3.4.9 worked for me. Thanks!

Git diffs worked fine, but not Mercurial diffs...


author: David Spitzley
body: It appears that this is still a bug. I just downgraded from the most recent version back to 3.4.9 and it works again.

comments: author: David Spitzley
body: That's interesting: II absent-mindedly installed v3.4.18 on a new server using Mercurial, and the diffs don't show up for .php files, but it turns out that .env and composer.lock files (I'm using Laravel, FWIW) display diffs just fine. So apparently the file type is involved in this problem.


author: MrJJ
body: I also suffer from this "feature" and so far found no fix. I also installed it on another laptop and the diff is not working there either. both win 10. so maybe it's my repro.


Tags: server
First Install: Can't get to remote repository
Asked by Michael Barber:

I just installed SourceTree and I'm trying to get to our Local Bitbucket server add my code to a repository I created. I can't seem to log in.

1. First thing I notice is that it want's to authenticate via https or SSH. The URL for the bitbucket server is HTTP and not HTTPS.

Authentication failed

Only 'http' and 'https' schemes are allowed.

2. For the protocol I have tried https and ssh and neither is working with Basic auth.

Authentication failed

No connection could be made because the target machine actively refused it: 127.\*\*\*:443

I am not sure what I need to ask for. First if the bitbucket server is only HTTP, is it always going to 443 even with SSH which is port 22? That is confusing. Anybody know what I need to make this work?

Do I need to install the GCM even for sourcetree?  
<https://github.com/GitCredentialManager/git-credential-manager>


Answers:
author: Michael Barber
body: Ok, I played with enough settings and eventually got it to work. I didn't do anything special that I can remember that I wasn't already doing so I'm not sure what the answer was but I'm in.
Sourcetree license
Asked by Pavel Kchol:

Hello,

Is Sourcetree free for commercial use (free for use in companies)?

<https://www.sourcetreeapp.com/>

Thank you for your answer.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Pavel Kchol](/t5/user/viewprofilepage/user-id/5072479) ,

welcome to the Atlassian community!

Sourcetree is a free app and you don't need license.

Fabio
ERR_SSL_PROTOCOL_ERROR
Asked by Jira Stuff:

Hi everyone,

I hope someone can provide me a hint how to solve this problem with "ERR_SSL_PROTOCOL_ERROR" when I try to open my Basis-URL: <https://server-jira-t.domain.local>

Thank you


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This means that your Jira is running on https, and your browser is not able to negotiate the right secure connection configuration with it.

(This is vastly over-simplified to try to keep it simple for us human end-users, before any SSL experts leap in)

What happens with most secure (https) sites is a browser hits them, and asks "how do we encrypt our conversation?". The server then hands back a token or certificate that the browser can use to encrypt what it is sending, and decrypt what the server is sending back. A lot of other client types can handle that too, it's not just browsers (wget, curl, etc).

But, if that goes wrong for some reason, then you'll get the error you are seeing. You might need an additional certificate, you might have a mis-configured server, or you might have a browser that doesn't work correctly with the protocols the site is demanding you use.

Quick test - try it in another browser. Do you get a similar SSL error?

Either way, you're going to need to talk to the admins of your Jira system to find out what is wrong and how to get into it.

comments: author: Jira Stuff
body: Hi Nic,

Thank you for your response. I know this is a certificate issue, but we do not know what exactly went wrong. This is a new server and cert has been imported accordantly.   
Cheers


author: Jira Stuff
body: We have found the error thankfully to this link below:  
[Confluence fails to start with SSL - Cannot recover key \| Confluence \| Atlassian Documentation](https://confluence.atlassian.com/confkb/confluence-fails-to-start-with-ssl-cannot-recover-key-1044097263.html)

It turned out, we had different passwords :-)


Tags: edge
Authentication Fails but Bitbucket is Fine
Asked by T P:

I've been using SourceTree for work successfully for the past five months.  

Today, when attempting to clone a remote repository, nothing appeared in the search list. I checked my account and refreshed my OAuth token. Authentication OK, green check mark, great. Search still showed nothing.  

I spam refresh and \*sometimes\* a handful of options will appear, but trying to filter the results from there shows nothing. Subsequent searches, even with an empty filter, show nothing until they do very rarely after many attempts.  

Attempted to diagnose. Generated an entirely new ssh key, converted it to PUTTY ppk, used that for SourceTree and added the public key to the account on BitBucket (which can see the repository and many others just fine!). Authentication OK. Nothing.  

Created an App Password, logged in using HTTPS and Basic. Authentication OK. No search results.  

I go to the repository on BitBucket, select Clone, and attempt to clone via Sourcetree. Sourcetree doesn't do anything in response. I download and set up VS Code and attempt to Clone. Also does nothing.  

I'm very confused as to how something that was working with no changes suddenly stopped working over the weekend, and why I can see everything perfectly fine, even download repositories directly from BitBucket, but no connected app like SourceTree will authenticate despite everything being linked to the account that can see the repositories.  

Does anyone have any ideas?


Answers:
author: Tim Ord
body: I've found a work around to being unable to Clone from BitBucket using Sourcetree.

I had to generate the rsa keys from Sourcetree terminal and ensure the agent was running.

Add the public rsa key to BitBucket as normal.

Refresh the OAuth token in Sourcetree.

Test the authentication in SourceTree using Terminal: "$ ssh -T git@bitbucket.org"

You should then see "authenticated via ssh key. You can use git to connect to Bitbucket. Shell access id disabled".

Within Sourcetree select File -\> Clone/New -\> Click "Remote" icon and you should then see a list of your remote repositories which you can then clone to your local PC.

I still can't get the "Clone using Sourcetree" feature in BitBucket to work as it just opens Sourcetree and does nothing as you reported.

comments: author: T P
body: Thanks for the potential solution! Unfortunately, even though I got the "authenticated via ssh key" bit, the "Remote" option when cloning a repository still shows 0 results.


author: Tim Ord
body: I've just got exactly the same problem. SSH Authentication used to work OK for Cloning repositories from BitBucket using SourceTree, but has now stopped working. I've also regenerated the keys, but using Terminal in SourceTree I get a "Could not open a connection to your authentication agent" and "git@bitbucket.org: Permission denied (publickey)". I've not found a solution yet.


Tags: bitbucket