youngmon/atlassian-qna huggingface dataset:
FishEye launch : Unable to set localhost
Asked by Dominique Bagot:

Hello,

I'am new with fisheye.

I've installed the lastes release (2.6.3), under the linux OS fedora 15.

Under root Id (folder: /usr/share/fecru-2.6.3), I've launched fisheye with # bin/run.sh)

Immediatly I've the error message : "Unable to set localhost. This prevents creation of a GUID. Cause was ...."

Some functionalities don't work after that, as the dashboard...

thant'ks for your support..I'am preparing a demo for colleagues :-)

Dominique (France)


Answers:
author: AafrinA
body: The error is similar to the error discussed in this KB. Adding the computer name in the hosts file of either Unix or Windows Platform, will fix the error thrown


author: Dominique Bagot
body: It's a good idea to write a question...it can help to search \& find new solutions.

here is the answer :

the /etc/hosts was incomplete : the name of the computer (as "name.company.net") was not mentioned
FishEye Jira scanning for UCM ClearCase : What exactly is linked back to Jira as Source Activity
Asked by Dana Frost:

I have set up FishEye with ClearCase UCM and it generaly works fine. I have also been able to connect it with Jira and have it link to UCM activies that i**nclude the Jira Issue Key in the UCM activity name** back to Jira. I have tried doing this by including the Jira Key in the UCM Activity comment but this does not seem to work.

**My Question:**

Is the UCM Activity Name the only thing that will link a UCM changeset back to a Jira Issue in the source tab when they are properly connected?


Answers:
author: Michael Heemskerk
body: Hi,

In general, you can link a changeset to a Jira issue by including the jira issue key in the changeset comment. For UCM ClearCase, FishEye uses the activity *headline* as the changeset comment, so everything should work fine if you create your activities as follows:

cleartool mkactivity -headline "JIRA-1234: some description" my_fancy_activity

comments: author: Dana Frost
body: Great tip. This makes it easy to update an existing activity with a additional/diffrent issue. That will be very useful. Thanks.


author: Dana Frost
body: Good tip, thanks. You can make the text a bit more meaningful this way.


author: Dana Frost
body: This is the answer I got from Support and it seems correct to me. Additionaly using the activity "headline" also works well.

-With UCM/Project Scanning in FishEye, **ONLY Jira Keys in Activity Names/Headlines will link to Jira SOURCE tab for an issue**.

-With Base ClearCase Scanning in FishEye, **ONLY Jira Keys in ci comments will link to Jira SOURCE tab for an issue**.

The only think I am not likeing about the way the linking works is that the issue links appear before they are delivered into the integration stream. While on the one hand, that may be a good thing because you see the related code as soon as the work is avaiable (as a developer this is a good thing) but it may confuse tester thinking the code is ready to test in the next integration build which is not necesarily the case. Still its working pretty well.

<br />
Continuously running Crucible HTTP Web Server on Windows
Asked by madhur sud:

I have Crucible installed on a windows server and everything works fine when the run batch file is executed. However because the HTTP web server is running under a user account it stops when the system is rebooted or the user's session is closed. Is there a way to run this on IIS or what's the best way to run it so that it's not dependant on a user account.


Answers:
author: rverschoor
body: You can run FishEye and/or Crucible as a Windows service.  
See <http://confluence.atlassian.com/pages/viewpage.action?pageId=91554194> for complete instructions.

comments: author: madhur sud
body: I have it running as a service now but it's seems unstable. It runs for some time and then fails.


author: rverschoor
body: Wild guess is that you're running out of memory.  
Check the wrapper.log for any errors.  
If there are indeed memory errors, have a look at <http://confluence.atlassian.com/display/FISHKB/Fix+Out+of+Memory+errors+by+increasing+available+memory>.
Upgrading Fisheye and the private key must be upgraded to access a Mercurial repository via SSH
Asked by Jay Barra:

Each time I have upgraded either Fisheye, Fisheye is no longer able to index those repositories until I re-upload the private key I had generated for it.

I followed the upgrade instructions and copied over the /var /cache and config.xml to the new instance. What can I do to not have to re-upload the private key for each repository I have Fisheye watching?


Answers:
author: David Yu
body: I split my FishEye install folder and FishEye data folder into two separate locations to make upgrades easier.

The SSH keys are stored here:

FISHEYE_DATA/data/auth/

Make sure when you upgrade, those keys are on your new version.

comments: author: Jay Barra
body: Next time I upgrade I'll try that. It's getting to the point where it's more than an inconvenience to go through and re-upload the private key to all of the individual repositories. Thanks


author: Michael Heemskerk
body: Thanks for pointing out this issue, we'll update the upgrade guide to include instructions on how to copy the SSH keys to the new version.

Another option is to split your installation into a FISHEYE_INST and a FISHEYE_HOME directory. That way, upgrading to a new version is as simple as backing up your FISHEYE_INST directory, unzipping the new version and starting FishEye from the new location.

More information on using a separate FISHEYE_INST directory can be found [here](http://confluence.atlassian.com/display/FISHEYE/Installing+FishEye "Installing FishEye").


Tags: ssh

upgrade
Fisheye is not showing commits from today
Asked by Dave Pacifico:

I cannot seem to figure out why my activity stream in Fisheye does not show commits for the current day. It always shows commits up to and including the previous day, but never for today. This is a problem for many reasons, including quick code reviews in Crucible. Can anyone help?


Answers:
author: Dave Pacifico
body: Thank you both for your suggestions. I looked closer at our configuration and someone had incorrectly configured the repository location to start with http:// even though it was a local repository. I'm not entirely sure if this resulted in some kind of daily caching or how this caused the problem, but changing it and reindexing has fixed the problem. Thanks again for the help.


author: Conor
body: It would be good to know what type of repository you are using (Subversion, Mercurial, etc)

I would start by looking at FishEye's admin section. If you click on the repo name, you will bring up the repository definition dialog, which starts on the "Summary" pane. This includes the repository status and the recent repository activity. The activity is a list of the equivalent command-line commands that FishEye has used to query your repository. The list includes the time and duration of command execution. You should be able to see some activity here in response to a commit.

To go deeper, I'd turn on debug logging and monitor the fisheye-debug log.


author: JamieA
body: I'll take a guess that fisheye is set up to scan for commits every one minute which is the default, and you haven't changed it...

If so, did you set fisheye up yourself? Is it possible that it's pointing to replica repositories, maybe for performance reasons, that get synced overnight? Assuming you have admin rights on fisheye take a look at the location of the vcs repos, and check it's what you expect.
Where can I find a documentation of Crucible REST API?
Asked by c cc:

Hi,

I found this official page <http://docs.atlassian.com/fisheye-crucible/2.6.0/wadl/crucible.html> - but many things are not described.

For example: How can I add a reviewItem or a reviewer? I can see the REST URL but I need a scheme or at least an example too. The *acceptable request representations*links are not able to expand :-(

Is there an alternativ documentation? - with google I had no luck.

Kind regards,

christian


Answers:
author: Martin Bayreuther
body: What about the POST variant of

### /rest-service/reviews-v1/{id}/reviewers {#toc-hId-1509027943}

This is described in the WADL file.

The structure of the reviewers list is described in the XSD file:

<http://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.xsd>

The list type

\<xs:complexType name="reviewers"\>  
\<xs:sequence\>  
\<xs:element name="reviewer" type="reviewerData" nillable="true" minOccurs="0" maxOccurs="unbounded"/\>  
\</xs:sequence\>  
\</xs:complexType\>

The individual entries:

\<xs:complexType name="reviewerData"\>  
\<xs:complexContent\>  
\<xs:extension base="userData"\>  
\<xs:sequence\>  
\<xs:element name="completed" type="xs:boolean"/\>  
\<xs:element name="completionStatusChangeDate" type="xs:long" minOccurs="0"/\>  
\<xs:element name="timeSpent" type="xs:long" minOccurs="0"/\>  
\</xs:sequence\>  
\</xs:extension\>  
\</xs:complexContent\>  
\</xs:complexType\>

The base type (userData):

\<xs:complexType name="userData"\>  
\<xs:sequence\>  
\<xs:element name="avatarUrl" type="xs:string" minOccurs="0"/\>  
\<xs:element name="displayName" type="xs:string" minOccurs="0"/\>  
\<xs:element name="userName" type="xs:string" minOccurs="0"/\>  
\</xs:sequence\>  
\</xs:complexType\>

comments: author: c cc
body: Thanks for your answers. That helps me a lot!


author: mstudman
body: This works for me to add a reviewer.

```
wget http://localhost:6060/foo/rest-service/reviews-v1/CR-1/reviewers --post-data=user1,user2 --header='Content-type: application/json' --http-user=admin --http-password=admin --auth-no-challenge --no-http-keep-alive
```

comments: author: c cc
body: Thanks for your answers. That helps me a lot!


author: Martin Bayreuther
body: I would guess that this is the place

<http://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html>

<http://confluence.atlassian.com/display/FECRUDEV/REST+API+Guide>

Best regards

Maba

comments: author: c cc
body: Unfortunatly that entry I want to see is missing. How can I add a reviewer to a review?
Watch a FishEye search?
Asked by nick cianfrocco:

Is is possible to watch a FishEye search? For instance, to receive a daily watch email whenever a commit matches a defined search criteria?


Answers:
author: justindowning
body: Sorry, this doesn't look possible: <http://confluence.atlassian.com/display/FISHEYE/Searching+FishEye>


Tags: search

watch
IntelliJ 10.5 and IntelliJ 3.0.2 connector
Asked by Bo Bo:

Hi

Can't get the IntelliJ 3.0.2 connector to work with my intelliJ 10.5 installation. And I can't figure out why.

I am properly missing some basic setting. I have a local Fisheye/Crusible 2.6 installation, with LDAP authentication and Remote API enabled.

I have installed the connector using IntelliJ pluging manager. When I open a project / (repository that have been indexed with my local Fisheye installation), and click on the Atlassian tab, I have two links to configuration in the tab:

-\> Configure Plugin Project settings

-\> Configure Plugin IDE settings

I click the "Configure Plugin Project settings and add a Crusible server (no options available for Fisheye, for some reason). The crusible server is added with settings pointing to my local Fisheye/Crusible instance, and the connection is succesfully tested (the server is checked as enabled).

After this is done I still don't get any of the connector UI elements, allowing me to interface with my crusible instance.

When I click the Atlassian tab, i still just get the links to the settings in the Atlassian tab:

\<address\>**No enabled server for tool window found!** \</address\>

-\> Configure Plugin Project settings

-\> Configure Plugin IDE settings

Any ideas of what I might be missing. I must admit that im clueless. It is as if it doesn't see my Crusible server settings.


Answers:
author: PiotrP
body: Hi,

Currently nothing is missing. Plugin now supports only FishEye/Crucible in a very simple form.

Means that, you can only create precomit reviews to Crucible and Open Files from FishEye Web UI in IDEA IDE.

Startng from verson 3.0 we decided to cut some functionality ie. reviews.

You can read more about this here:

<http://confluence.atlassian.com/display/IDEPLUGIN/Atlassian+Connector+for+IntelliJ+IDEA+-+v3.0+Release+Notes>

or here:

<http://blogs.atlassian.com/devtools/2011/02/atlassian-ide-connector-30.html>

if you miss some functionalty please fell free to comment on.

One more thing. Because only basic support for Crucible/Fisheye is present in Connector there is no need to create tool window and after you configured Crucible server nothing happens. I know that this is some misinfomational but we are going to change this in the future.


Tags: ide-connector
Automatic login to fisheye's diff view
Asked by Thomas Krug:

Hi,

when navigating from Jira's source tab to fisheye's diff view a login is required. Since our Fisheye instance is using the same external User Management (Ldap) it would be great if the 2nd login would not be required any more.

I set up app links already, but this does not seem to make the login obsolete. Our Jira is still on 4.1.

Regards,

Thomas


Answers:
author: JamieA
body: You'd need to set up some form of SSO, for instance using Crowd although that is by no means the only answer.

JIRA does not retain your password so could not pass it to Fisheye, and they do not share session authentication cookies (which is where Crowd would come in).

comments: author: Thomas Krug
body: Thanx. What I am really missing is a "Remember me" option in Fisheye. This would help very much.


author: JamieA
body: I have a "remember" cookie with a 24 hour expiration and I'm not prompted to login... I don't remember setting that up specifically. Probably there is somewhere you can increase the expiration.
How to add new changesets to existing pending review
Asked by J P V Naayana J P V Naayana:

I have Crucible along with FishEye integrated to SVN.

A review created for complete change Set 24, having 146 files in Crucible

Review is in progress and a new change set committed by developer changing 3 of the files which were part of previous changeset.

How to add the new change set files into the existing review directly from Source window of Fish Eye.

I can go to Crucible review window and select the file modified and make use of File Outdated status to get the latest. However checking each of the change set files thi way is time consuming.

Is there any way to add the new change set files incorporation into the pending review request .

Regards

JP


Answers:
author: Pierre-Etienne Poirot
body: Hi,

You can do that from the activity stream of the repository:

\* if you are already in the Source window, go to the 'Activity' tab. If you don't see the changeset, ensure that the [branch selector](http://confluence.atlassian.com/display/FISHEYE/FishEye+2.4+Release+Notes#FishEye24ReleaseNotes-BranchandTagSelector) is on 'All' (to view any changeset) and use the file tree on the left hand side to go to the root of the repository

\* then click on 'Filter Commits', and type the developer's name, then click on 'Apply'

\* when you see the changeset, click on the icon next to the time of the changeset, and in the menu that appears, click on 'Create review'

The window that appears should propose you to add the changeset to the existing review.

(Alternatively, go to the existing review, then click on 'Edit details'. In the popup, click on the 'Add content' button and then on 'Browse changesets' to add it).
Does anyone provide user and admin training for Crucible ?
Asked by Andrew Morin:

I have looked on Atlassian and ClearVision sites and found nothing related to Crucible.


Answers:
author: JohnA
body: Hi Andrew,

Our official partner [Clearvision](http://www.clearvision-cm.com/) provide excellent [training courses in many Atlassian products](http://www.clearvision-cm.com/bamboo-clover-crowd-fisheye-crucible/other-atlassian.html), including Crucible, ranging from basic usage right through to administration and customisation. They are based in the USA and the UK, but they provide both classroom and web based training so they can assist training teams from all over the world. As official [Atlassian Partners](http://www.atlassian.com/about/partners/), we can confirm that they provide the highest quality service and we're happy to recommend them to our customers.

All the best,

John


author: Darren
body: Hi Andrew

John is correct thate Clearvision can provide crucible training (thanks John). While our website doesnt list the course specifically we are happy to offer individual and bespoke courses for all Atlassian products, if you contact us at [sales@clearvision-cm.com](mailto:sales@clearvision-cm.com) one of the team will be more than happy to dicuss your individual requirements with you.

Darren @ Clearvision
Can I downgrade my Commercial Software Maintenance Renewal to cover for less users?
Asked by Dave Raaijmakers:

I currently own a 25-user license for both FishEye and Crucible and have an upcoming Software Maintenance Renewal; our requirements have however changed and we questioning if we can downgrade the renewal for both products to cover for 10 users.

Cheers,

Dave Raaijmakers


Answers:
author: Nic Brough -Adaptavist-
body: Yes, Atlassian have done this for some of my clients in the past. You couldn't do it online last time they did it, but it was a simple email to [sales@atlassian.com](mailto:sales@atlassian.com) to ask them, and they adjusted the renewal quote and account straight away. I think they've revamped some of the account stuff since last time I was involved in lowering the users, so I'd check your account before mailing them.
Push/Commit not working. BUT, I can pull
Asked by Ramanathan Kokul:

Hello,

I have an issue about pushing/commiting in sourcetree. But i can pull the new version of files/projects.

Is the problem related with my rights? Or maybe the SSH connection?


Answers:
author: Ramanathan Kokul
body: I fixed it with a complet uninstall (remove files on \\AppData\\Local\\Atlassian and \\AppData\\Local\\SourceTree)

and reinstal


Tags: bitbucket
MacOS How to filter commits based on commit message
Asked by omkar ramtekkar:

I've SourceTree v3.2.1(255) version installed on MacOS 10.14

I do not see an option to search/filter commit based on commit message or author.

Is it possible to filter commits based on commit message string?

![Screenshot 2019-10-12 at 11.44.35 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/69239i5D707FA764B59270/image-dimensions/776x80?v=v2 "Screenshot 2019-10-12 at 11.44.35 PM.png")


Answers:
author: Stephen Sifers
body: Hello Omkar and welcome to the Community!

You should be able to see a search option on the left side menu while in Sourcetree for macOS. I tested and confirmed with Sourcetree 3.2 and was able to see the search, which has options to search for commits. Please see the screenshot below:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/69356i15D5218764E70A8C/image-dimensions/423x91?v=v2 "image.png")

If you're not seeing this, please let us know.

Regards,  
Stephen Sifers
How to get the commit messages into the source code automatically
Asked by Trading:

(I have posted this in the bitbucket forum also - I hope duplicates are permitted)

For purposes of easier debugging and understanding of the code, I need and ability to automatically record any of commit comments into the source file that is being committed. These can be appended either to the top of the file or to the bottom.

I recall that this was a feature provided by a source code management tool that I was using about 15 years ago. However, I do not see this as being a part of git. Is it possible to achieve this using any feature of source tree?  
Or, can this be achieved by any workaround  
Thank you for any inputs


Answers:
author: Stephen Sifers
body: Hello!

This is a great idea, to be able to include your comments within your commits. If you're using BItbucket then smart commits are available to include your Issue key and comments. If you're using Jira and the Bitbucket and Jira are integrated then this will also show your commit message within the Jira issue. Further information on this may be found at [Use Smart Commits](https://confluence.atlassian.com/bitbucket/use-smart-commits-298979931.html).

If this is not the information you're looking for, please reach back out and let us know.

Regards,  
Stephen Sifers


Tags: bitbucket

commit
How do I start sourcetree on my computer (Windows 10)?
Asked by Adolfo Gomez-Cala:

I have just installed the thing but I don't know how to start it. No desktop icon, doesn't appear when I look on the start menu. Or it is a browser interface?


Answers:
author: Adolfo Gomez-Cala
body: Actually it was quite *easy*. I mean, for Windows 10 standards.

1. I uninstalled it in order to know where in my computer the applications files were. Believe me nobody would tell me, not even **where**.
2. Then I *in a stroke of genius* I installed it back.
3. Went to users folder and **allowed system operating files to be displayed** (*to the abhor of the OS*).
4. Looked into AppData/Local/Sourcetree. **There it was!**
5. Pinned the executable to the start menu.
6. Hid the system files again.

Hopefully the developers ***will find a way to perhaps create a desktop icon next time.*** *Let's hold our breath.*
Crashes on every Commit
Asked by JBonavita:

This is a fresh install on a new PC. I'm connected to an existing BitBucket repo.

Any time I try and do a commit, SourceTree crashes. I've submitted the crash info.

I have my full name and email address specified in the General settings.

Is it possible to view the crash log so I can see what's going on?


Answers:
author: JBonavita
body: I removed my account and re-added it and that seems to have fixed the issue.
What method Sourcetree accessing Bitbucket servers?
Asked by vev5cob:

I would like to understand the method connecting Bitbucket server in sourcetree(using http or ssh or REST API...)

I've enabled Sourcetree-\>Tools-\>Options-\>"Check default remotes for updates every 10 minutes". I'm getting the working copy updates.

* How sourcetree is accessing in 10minutes?
* Will it record the access logs in Bitbucket server?

Please clarify and provide if any architecture available for sourcetree.


Answers:
author: Mike Corsaro
body: > Check default remotes for updates every 10 minutes

This is a bit misleading. It doesn't actually ping Bitbucket Server, it actually just runs some git commands:

```
git fetch origin (get new remote branches)
git branch -vv (get the ahead and behind count for branches)
```

> Will it record the access logs in Bitbucket server?

I'm not sure -- Bitbucket Server might log git commands but that's something you'll want to ask the admin of your server

comments: author: vev5cob
body: Could you let me know, where we can get the trace of those activities? Since I did not found any traces in the Bitbucket server.


Tags: sourcetree-enterprise
Memory - what are you doing!?
Asked by fcgamedesign:

![337a53e39a51a6b47eeea5853d29ea04.gif](/t5/image/serverpage/image-id/69083i7BA1C7CFCD1EEFC4/image-size/large?v=v2&px=999 "337a53e39a51a6b47eeea5853d29ea04.gif")

Just trying to delete some files via SourceTree... yikes.


Answers:
author: Mike Corsaro
body: Hello!

How big are the files you're deleting? Can you also check the memory of the git process that's running? Also, try toggling the "Disable Libgit2" too. If you have a big repo libgit2 will have to load that into memory.

Working set memory is generally a misleading metric. It includes memory shared by other processes (.Net CLR, git) not the actual memory use of the process.

comments: author: fcgamedesign
body: It wasn't particularly large files, but a lot of them. Couple of 100MB in total.

Where can I find the option to disable libgit2?

After the delete was done memory use shrunk back to the normal size of a few MB.


Tags: memory