youngmon/atlassian-qna huggingface dataset:
Crucible Upgrade Path (v2.10.1 --> current)
Asked by GeoffreyPeart:

So we've just not dealt with this for \~3 years, and so we are well out of date on our crucible versioning, and was hoping someone could help, how can I migrate with as little risk as possible from? Can I go direct, or is this a multihop process? If it helps or hinders I am running postgres, and win2k3?


Answers:
author: FelipeA
body: Hi Geoffrey,

Please take a look at [](https://confluence.atlassian.com/display/CRUCIBLE/Crucible+upgrade+guide,%20)<https://confluence.atlassian.com/display/CRUCIBLE/Crucible+upgrade+guide>, there you'll find detailed steps for that. I suggest you set up a test instance and perform the upgrade there first before you do that in production, and if anything fails during your steps, please open a support ticket with us on [](https://support.atlassian.com)<https://support.atlassian.com>

Best regards,

Felipe Alencastro


author: Conor
body: Geoffrey,

It's a single step process. FishEye and Crucible will perform all the necessary upgrade processes required to bring the instance up to date from its current version. Nevertheless, as Felipe indicates you should take a full backup before commencing the upgrade and use a test instance to be sure the upgrade goes ahead without issues. It will also give you some indication of the total upgrade time that will be required so you can plan a production upgrade.

You should also check out the supported platform information here [](https://confluence.atlassian.com/display/CRUCIBLE/Supported+platforms)<https://confluence.atlassian.com/display/CRUCIBLE/Supported+platforms>as the required platform components may have changed from your current instance. In particular, since you are using Windows, please note the changes to supported versions of Internet Explorer.
Fisheye does not show the recently active branches
Asked by Mark Douglas:

Repo with more than 500 active branches. Fishey doesn't display information about last active branches.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello Mark,

please, take a look here to fix your issue [](https://confluence.atlassian.com/display/FISHEYE0210/System+Properties)<https://confluence.atlassian.com/display/FISHEYE0210/System+Properties>

There's a specific property (fisheye.branch.recently.active.check.limit)that can be adjusted in order to increase the default limit (250).

Hope this helps,

Fabio

comments: author: Fabio Racobaldo _Herzum_
body: You need to restart fisheye after this change


author: Mark Douglas
body: This problem was driving me crazy. Now it works well. Thank you Fabio


Tags: fisheye-crucible-administration
Adding default reviewers when a specific folder is changed in a repository
Asked by Madhu Dasari:

I will explain my problem with an example.

We have created a crucible project AA for XX repository and we use AA for all backend and frontend reviews. XX repository contains 2 folders, say "web" and "service".

My question is, when ever a patch is uploaded which contains the changes from "web" folder, few set of people should be added as default set of reviewers to the crucible. Is it possible to do with in crucible? If not, is thr an external plugin available to do this job?

This is how we create crucible:

step 1: select crucible project

step 2: upload the patch

step 3: select reviewers

step 4: done/ start review

I want default set of reviewers to be added when uploaded a patch(which contains changes from web folder) in the step 2.

Please let me know if you need more information.


Answers:
author: Nick
body: This functionality currently doesn't exist.

You can watch a specific path in FishEye however, and have an email sent to a group or individual users who could then create a review from the change.

To configure such a watch, as an admin, you can use the Watches Plugin: [](https://marketplace.atlassian.com/plugins/com.atlassian.fisheye.plugins.fisheye-watchers-plugin/versions#b110)<https://marketplace.atlassian.com/plugins/com.atlassian.fisheye.plugins.fisheye-watchers-plugin/versions#b110>.

You could definitely write a plugin however to do exactly what you want, by listening to the ReviewCreatedEvent, and then responding to that by seeing what paths (even of patch files) are in the review, and adding a certain group of users to the review. You would also want to listen for ReviewUpdatedEvents, for when new files are added to an existing review.

comments: author: Madhu Dasari
body: Thanks for the information, Nick.

Is thr any example(sample code) regarding the same use case where I can refer to?

Thanks,

Madhu
Export search results from main search
Asked by Blake Piechocki:

In the "Advanced Search", there is the ability to export the list of results to a csv file. However, this appears to be down to a single repository in the results, and I would like to export the results across all repositories.

For example, if we are looking to change an enterprise wide datasource, we would like to be able to search all repos for usage of the datasource and export it to an easily manageable list that we can mark off repos as we discover false positives, etc.

Is this possible? Or is the export only at the repository search level?


Answers:
author: lpater
body: Hi Blake,

exporting quick search results is not currently possible.

Please raise a [feature request](https://jira.atlassian.com/secure/CreateIssue!default.jspa) if you'd like to see it included in FishEye.

If you're interested in implementing the functionality as a FishEye plugin, please have a look at our [developer documentation](https://developer.atlassian.com/display/FECRUDEV/FishEye+and+Crucible+Developer+Documentation). The classes to get quick search results aren't public APIs right now, but you could have a look at using the QuickSearchService component, to fetch the results and then export them in your plugin.

comments: author: Blake Piechocki
body: Thank you for your answer!

I was kind of expecting this, but wanted to be sure that I did not just miss a setting or button somewhere. I just submitted a New Feature request, so we will see where that goes.

Thank you!


author: Riccardo Guidi
body: Do we have any update on how to export a search now?

comments: author: garibaldib
body: Bump
Default SVN Index to start at HEAD Revision?
Asked by Blake Piechocki:

So we have some very large and old repositories complete with branches upon branches upon branches... Because of this, we would like to start out with FishEye indexing the current HEAD revision for each repository, then just maintain the scanning going forward.

I did find where I can specify the revision to start with indexing, but was unable to find where I could set a default to always start at the HEAD... Is there a way to do this without having to look up and specify the HEAD revision number?

Bonus points if there is a solution that includes the ability to configure this with the Directory Scanning plugin as well (because I don't want to add 1600+ repos by hand).

Thank you!


Answers:
author: Piotr Swiecicki
body: Hi Blake,

I am afraid FishEye accepts number only and it is impossible at the moment to specify the current HEAD at the moment of first contacting the repo. Directory Scanning Plugin wouldn't allow non number too. Feel free to raise an ehancement request for that in [](http://jira.atlassian.com/browse/FE)<http://jira.atlassian.com/browse/FE> project.

With your 1600+ repositories you will most likely need to script that. Hopefully you could iterate over all the repos, check the current head revision with svn CLI. You can then use new REST API added in 3.4.0 release, which allows now easy repository creation, see documentation of POST /rest-service-fecru/admin/repositories: [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories>  
In the examples provided you can see how to specify start version.

EDIT: you can find example python client for this REST API here: <https://bitbucket.org/atlassian/fecru-rest-examples/src/7ef244fe086bad2a1866b140c5a831f9b7053ac5/python/examples_repositories.py?at=master>

Hope that helps,  
Piotr

comments: author: Blake Piechocki
body: Thank you for answering!!

I was afraid that was going to be the answer, but wanted to verify just in case I missed something.... But the REST API sounds very promising!! I will definitely be checking that out.

Thank you!


Tags: fisheye-crucible-administration
setting up both internal & external URLs for fisheye
Asked by Ming Ho:

I already have fisheye setup. Now I need to put fisheye behind an external proxy. How can I go about doing this? basically, I want to have something like this:  
[http://fisheye.mycompany.com\<br\< a=""\>\>](http://fisheye.mycompany.com%3Cbr)[http://external.mycompany.com/fisheye\<br\< a=""\>\>
We already have the first URL for a few years. Now, there is a need of exposing it externally. I tried this solution](http://external.mycompany.com/fisheye%3Cbr)<https://confluence.atlassian.com/display/FISHEYE/Integrating+with+other+web+servers>. but, some of the statics content are not show up properly. Any suggestion?


Answers:
author: Nick
body: Please ensure you've set the site URL for fisheye.

This is done in the admin section, under "Server". Set this to the value your users will use to access to fisheye via the proxy.
How do I show whitespace (tabs, spaces) in a crucible review?
Asked by Chris Monkiewicz:

I would like to be able to see whitespace during a code review in Crucible similar to Visual Studio's Ctrl-R, CTRL-W. Is there a way to turn it on?


Answers:
author: Piotr Swiecicki
body: Hi Chris,

There is no option to show tab or space marks in FishEye, but you can control which whitespace should be displayed or hidden in review. Just click on the View link and pick up the option of your choice, see:  
![](https://monosnap.com/image/poTYtdvz95g0YaxcIFYsQIGqpqwZDo.png)

comments: author: Chris Monkiewicz
body: Yeah, that's not what I want. People are sloppy sometimes and mix tabs and spaces. That's easy to spot when I'm reviewing changesets in TortoiseHg for example (or a decent diff viewer), but not possible in Crucible.

Is that a feature that could be requested?

By the way, what is the definition of "insiginificant whitespace"?


author: Piotr Swiecicki
body: I think this is the feature request you are looking for [](https://jira.atlassian.com/browse/CRUC-189)<https://jira.atlassian.com/browse/CRUC-189>

Feel free to watch it and vote for it, for now it doesn't seem to be a highly demanded feature, only one vote so far.

Regarding the meaning of insignificant whitespace it basically ignores amount of whitespaces if it is selected.

Hope that helps,  
Piotr


author: Chris Monkiewicz
body: Dzi?kuj? bardzo!


author: Piotr Swiecicki
body: Nie ma za co :)
Same public key for different repos
Asked by Rumceisz:

Hi,

can different repos have the same public key in Fisheye?

Thanks,Rumi


Answers:
author: Piotr Swiecicki
body: Hi Rumceisz,

Of course, you can share same key (it is actually private key not public one) in several FishEye repositories. You won't be able to reuse FishEye generated key easily as the private key is never displayed to the user. But you can easily generate key pair by yourself, upload same private key to several FishEye repositories and add the public one to authorized keys on your git/hg hosting site. There is more information how to generate the key pair: [](https://confluence.atlassian.com/display/STASH/Creating+SSH+keys)<https://confluence.atlassian.com/display/STASH/Creating+SSH+keys>

Kind regards,  
Piotr

comments: author: Sorin Sbarnea (Citrix)
body: My impression is that you are missing to say that for each repository you want to add you have to upload the ssh key again. And a side effect of this is that if you want to change the key you may have to manually update all of them, because all of them do have the same key in them.If that's true, that's means that the entire answer would translate of a \*\*NOT really.\*\*


author: Rumceisz
body: Hi Piotr,

thanks a lot!


Tags: fisheye-crucible-administration
Unable to use git custom actions
Asked by Daniel Villaverde:

Hi,

I'm using SourceTree with Pageant and trying to use git through Custom Actions.

There's no problem when using SourceTree git default actions (Fetch, Push, etc) but when I try to use a git based Custom Action SourceTree says "Permission denied (publickey)".

Why is my SSH key or Pageant not being used whit Custom Actions? Is any way to fix it?

Thank you


Answers:
author: Daniel Villaverde
body: Anybody?


author: aroylangloisfortin
body: Same problem here. Any update?


Tags: git

pageant

ssh
Could not clone repos from bitbucket using source tree
Asked by Naresh Babu Garlapati:

Hello ,

I am trying to clone repos from bitbucket from sourctree, it's always ending up with below error. I and my team have tried in so many ways, but it didn't resolved. it's only happening for my account.

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://NareshGarlapati@bitbucket.org/sc0p3Cr33p/factoryweb2.git  
Output:  
Error: remote: Invalid username or password  
fatal: Authentication failed for '<https://bitbucket.org/sc0p3Cr33p/factoryweb2.git/>'


Answers:
author: Tade?? Chrom?
body: Same


author: Constantin Cioaca
body: same here


author: Du?an Veselinovi?
body: Same issues.


author: Ragush
body: Hi Naresh,

**It seems to me the HTTP authentication is not working?**

I found a solution for myself - Setup SSH and use that alternatively.

The instructions aren't great but here is a starter

[Set up an SSH key \| Bitbucket Cloud \| Atlassian Support](https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/)

1. Download and install putty to mange the authentication

2. use sourcetree to create a public key (cut and paste that into your bitbucket acct online)

3. From the same code (same window) generate your public key (this will be the local side of your authentication)

4. Set your sourcetree authentication to have SSH

see the instruction for more details but they may be more confusing

Hope this helps others!


author: Ragush
body: Problem remains for me


Tags: bitbucket
This integration is misconfigured. Contact the vendor for assistance.
Asked by faelhv:

I'm running SourceTree 2.7.6 (177) on macOS Sierra 10.12.6 with no available updates. I just cannot connect my SourceTree client to GitHub and BitBucket through the OAuth authentication type with the following message: *"This integration is misconfigured. Contact the vendor for assistance."*


Answers:
author: faelhv
body: There is a [link](https://bitbucket.status.atlassian.com/incidents/l50d1j43zdj9) indicating this issue has been resolved, but how can I make OAuth work on my macOS 10.12.6?


Tags: bitbucket

github

oauth
Can't create a pull request
Asked by LuisCarro:

I just installed **SourceTree** version **3.4.2** and find that I cannot create a pull request.

In the previous version (not remembering which one I had installed) I could solve this with the recommendation indicated in *<https://community.atlassian.com/t5/Sourcetree-questions/Unable-to-Create-Pull-Request-Default-Browser-Empty/qaq-p/1213475>*.

But this no longer works. To be able to do the pull request I must do a push and generate it directly on the web, this does work. But if I try it from SourceTree, a dialog tells me that "You don't have any remotes wich have extended integration settings configured, blablabla ...".

As much as I update my credentials, do a refresh of the OAuth token, nothing works.

I can do fetch, pull, push, tag, commit but not a pull request. How is this possible?  
Should I uninstall this version and go back to the previous one?  

![Souce-Tree-01.png](/t5/image/serverpage/image-id/127234i2780E271B325AE34/image-size/large?v=v2&px=999 "Souce-Tree-01.png")

The ***Remote***button on the toolbar never changes state, always showing the exclamation point even though my credentials and token are correct and up to date.


Answers:
author: LuisCarro
body: I have noticed that reverting to version 3.4.1 does not work either.


Tags: bug

upgrade

windows
How do I set default web browser?
Asked by BartTheBoxer:

When I click on the "Remote" icon, I get an error message: "Unable to open your web browser to 'git@github.com:xxx', do you have a default web browser set?"

Where "xxx" is the name of a remote repository on github.com (which does exist).

How do I get past this?


Answers:
author: Rod Dewell
body: This problem has nothing to do with the default browser. When you click on the Remote-Globe icon it will attempt to redirect you to the remote server that is defined in the Repository Settings Optional extended integration window.

To reach this window click the Repository pull-down Menu, Select Repository Settings.. and you will see the Repository Settings Popup menu. From the Remotes Tab select the "origin" line that contains the path to the remote depository. Then click on edit, and the "Remote Details" popup window should appear.

From the "Remote Details" popup window you can select the public Bitbucket, GitHub, Unknown, or Bitbucket-Server as your Host Type. If you select "Bitbucket-Server" you will be able to enter the Host Root URL of your remote server under "Legacy Account Settings", aka "default brower"

Once this is done, you should be able to click on the Remote-Globe icon and start a browser view of the remote repository. It may be necessary to enter your host's username and password too.
Is it better to Fetch first then Pull to avoid conflict
Asked by Bryan Tejano:

Let's say, there is new change to the master so there is possible a merge conflict with my commit. Then merging master to my branch is too hassle. To avoid merge conflict, is it better to Fetch first then Pull the changes then I proceed to Stage now for my changes?

1. So If I can see new changes to the master, then I pull it first then that is the time I'll Stage my commit.

Thanks you!


Answers:
author: Pramodh M
body: Hi [@Bryan Tejano](/t5/user/viewprofilepage/user-id/4237536)

If you are asking for confirmation, yes this is the best practice to fetch the changed commits from Bitbucket see the changes, and then merge the changes to the branch you are intended to merge.

Thanks,  
Pramodh

comments: author: Bryan Tejano
body: I guess Other's practice is to Stage first their changes when there is conflict then they merge the master to branch. That's a long process right? If there is way to catch the conflict than proceeding to merge master to branch.  
Instead of that process, what I did is Fetch first then if there are changes in master, I Pull it, then Stage my changes for commit then Push. It is like I'm avoiding the merge conflict and merging master to my branch.

<br />

I'm new to this so I want to understand the process. I'm just a developer and now they're letting me to deploy and merge my changes for my skills to expand.   
Thank you.


author: Pramodh M
body: It may see long process, but if we have to avoid the merge conflict we have to do this, besides you will have the latest code from other developers too :-)

If you are continuously working on code, its best practice to follow the steps below,
> Pull (includes two steps - fetch and merge) the code from remote branch to see if there are any changes.
>
> Regularly commit your changes to code in the branch that you are working on
>
> Once the code is finished, push the code to branch and create a pull request in remote.
>
> If there are say merge conflicts, you will get to see them in pull request itself. It's not much to worry about the merge conflict here :-)

Let me know how branching is done in your development environment..

Thanks,  
Pramodh


author: Bryan Tejano
body: The branching is like we have our own branch cloned from master branch. Do I need to make a remote branch for my local branch or my local branch is enough already? What's the use or difference of my local branch and its remote branch? I have only local branch and haven't push this out and haven't created my remote branch yet as I don't know the difference. My team can't see yet my local branch.


author: Pramodh M
body: If you push your local branch to remote, your fellow developers can see how the progress was during the development of code, I guess it's best to protect the master branch (without committing to it directly), rather create a pull request every time code has to merged then review the code, after which the code can be merged into the master branch.


Tags: bitbucket

devops

git
Source tree is getting unresponsive again and again.
Asked by Akshay Gupta:

Hi Team, My whole system is running fine but Source tree is getting unresponsive again and again. So, i installed the latest version of source tree still getting the same issue.

Can someone help me in this.

Thanks

Akshay


Answers:
author: Todd Jonker
body: ST 4.0.2 freezes daily for me too, running on macOS 10.15.7. Its frustrating that the product has been stagnant for 15 months with numerous regressions from 3.x
unable to install in macOS Catalina 10.15.7
Asked by Colin Pape:

I just downloaded SourceTree for Mac and the OS will not allow it to be installed Is there an update pending or any workaround?

Thank you

Colin![Screen Shot 2021-01-21 at 12.55.56 PM.png](/t5/image/serverpage/image-id/126728i907F4E48255E7CD4/image-size/large?v=v2&px=999 "Screen Shot 2021-01-21 at 12.55.56 PM.png")


Answers:
author: Colin Pape
body: I found a workaround here... <https://community.atlassian.com/t5/Sourcetree-questions/Is-SourceTree-compatible-with-macOS-Catalina/qaq-p/1217919>![Screen Shot 2021-01-28 at 4.22.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/127904i3C11CD1D68EB36D9/image-size/large?v=v2&px=999 "Screen Shot 2021-01-28 at 4.22.15 PM.png")


author: amir.navid
body: system preferences \> general \> section allow app download from \> select download anyway


Tags: mac
After using the preview pane hunk scroll SourceTree on Windows app freezes and has to be restarted
Asked by R4DIC4L:

I am not sure if this is reported or not, but I noticed that after I am using the preview pane (right part) scroll to view code modifications for a hunk that don't fit the width of the screen, the SourceTree app freezes. See below highlighted in red what scrollbar I am referring to.

![SourceTreePreviewPane.PNG](/t5/image/serverpage/image-id/126668i2FE9DB863CE0AE5D/image-size/large?v=v2&px=999 "SourceTreePreviewPane.PNG")

It is becoming very annoying when you check your code before commit and push in order to stage only necessary files.

SourceTree on Windows, version 3.3.3

Windows 10


Answers:
author: R4DIC4L
body: I have updated to SourceTree on Windows, version 3.4.2 and will see if this is still reproducing. Below changelog might have fixed the problem.

### SourceTree 3.4.2 \[07 January 2021\] {#toc-hId-1204442235}

#### Changes {#toc-hId-1895003709}

* Fixed issue of Sourcetree hanging on scrolling down diff view panel

comments: author: R4DIC4L
body: Seems it has been fixed in 3.4.2.


Tags: windows
Custom actions not working on Windows 10
Asked by MYUNGSEO SONG:

Custom actions not working on Windows 10

I wrote .bat file. and created custom action. but It is not worked.

I discovered 3.39 version issue. and update to 3.4.2

but It is not worked.

and I found and saw this issue.

<https://community.atlassian.com/t5/Sourcetree-questions/Custom-action-not-showing-in-repository-browser/qaq-p/1016743>

I decided to test simple echo custom action just like the issue case.

but I can't show command window.

please help me.


Answers:
author: MYUNGSEO SONG
body: self solution!

Because of open the new window checked option.

Do to uncheck open the new window option.

I hope that there is no more like me.

Regards :)