youngmon/atlassian-qna huggingface dataset:
Fisheye WARN CodeMetricsReportServlet plugin does not have access to all the repository data
Asked by jcurleyWR:

I am seeing this error in the var/log/atlassian-fisheye-2014-10-08.log (and other dates):

```
2014-10-08 16:03:44,020 WARN [qtp486549493-12935 ] fisheye.app CodeMetricsReportServlet- 
addNoLocOrBlameInfoAvailableError - This plugin does not have access to all the repository data for vxworks/.
Some data is not available: The repository may be indexing, may not support LoC or has "Store Diff Info" turned 
off.
```

It happens when I go to: [http://crucible.ourcompany.com/plugins/servlet/code-metrics/vxworks](http://crucible.wrs.com/plugins/servlet/code-metrics/vxworks)

That page displays basically the same message (in a nice box):

```
This plugin does not have access to all the repository data for vxworks/. Some data is not available: The repository may be indexing, may not support LoC or has "Store Diff Info" turned off.
```

The repository is:

* done indexing
* supports LoC
* Store Diff Info is checked (turned on).
* LARGE with 1.2G size (in stash), a robust branching structure (100's) and 20000+ commits.

Or do I need to submit a support request?

Thank you.


Answers:
author: Philip Wiley
body: I am running into this as well. Anybody know what is causing this?


author: Asha
body: I have similar issue . Please suggest some solution for this
Crucible review not showing up in Jira Review tab if issue mixed case
Asked by Brent Webster:

I setup a Crucible review(i.e. APcr-234) and linked it to JIRA issue: BN-12345. In JIRA, I opened BN-12345, selected the Review tab and it shows the APcr-234 review so the linkages are properly setup. I now "Edit Details" for APcr-234, delete the current BN-12345 link and relink with bn-12345 (i.e. lower case). The linkage to JIRA is setup and it shows up as BN-12345 (i.e. upper not lower case). When I refresh the JIRA Review tab, the APcr-234 review info disappears. When I repeat the "Edit Details" for APcr-234 and relink the review back to BN-12345 (i.e. back to upper case). Then refresh the JIRA Review tab and the APcr-234 review info reappears. Am I missing some sort of configuration (regex?) or is this a known or new problem?

Using JIRA 5.2.11 and Crucible 3.0.3


Answers:
author: gustavo_refosco
body: Hi Brent,

I think it is possible you are facing the bug described by <https://jira.atlassian.com/browse/CRUC-6924>, though in this bug the link is not actually created, but it fails during its creation.

I noticed the bug does not exist in a most recent version (3.5.3), but if your linking is not actually failing, without checking the logs I couldn't say for sure if this could be solved by an upgrade.

Either way please notice the [Smart Commits](https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits) document mentions that "Smart commits only support the default JIRA issue key format (that is, two or more uppercase letters, followed by a hyphen and the issue number, for example BAM-123)", so besides you are not using a Smart Commit to create the link, I'd still recommend to keep using it in uppercase.

<br />

I'm going to check this further to see if this is a different bug.  

Regards,

Gustavo Refosco


Tags: fisheye-crucible-administration

jira

jira-administration
Fisheye repository error message
Asked by Rumceisz:

Hi All,

we just configured a git repo to Fisheye and we got the following error:

Unable to clone remote repository: [git@vy](mailto:git@vmh-devbase-git.lsy.fra.dlh.de)yyyyyyy.yyy :pdsdsdsd-ddds/uuuuu - \[ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory, Host key verification failed., fatal: The remote end hung up unexpectedly\] - Initialized empty Git repository in /home/fisheye/app/fisheyeHome/var/cache/simply_mirror/clone/

Could you please help what it means?

Thanks in advance,

Rumi


Answers:
author: Timothy
body: Make sure that you Fisheye Server has the proper keys installed to access the Git repository.

<http://stackoverflow.com/questions/15214977/cloning-git-repo-causes-error-host-key-verification-failed-fatal-the-remote>


Tags: fisheye-crucible-administration
Will I ever be able to use REGEX in EyeQL?
Asked by Ben Kunkel:

I can't imagine this question hasn't been asked before, but I can't seem to find a straight answer. I want to be able to use regular expressions when searching the content of files in FishEye. It's simple enough at the command line when interacting with the code, but I'd like to be able to do so in FE. Is there an issue for this? What is Atlassian's position on this?


Answers:
author: Jeff Thomas
body: The feature request for regex searching is tracked at [FE-824](https://jira.atlassian.com/browse/FE-824). Feel free to vote on the issue and add yourself as a Watcher to be notified of its progress.
How to create Intial Fisheye review from Jira it self ?
Asked by Sandeep Nagaraja:

Hello AA

I want to know if we can create the First Review from JIRA issue itself ? At the moment we are first creating the Reveiw from Fisheye and then linking to JIRA Issue ID. Is there another way around where we can create the First Review from JIRA it self ?

We are using Fisheye 3.4.4 and JIRA is on 5.1.6 version.

Cheers

<br />

Sandeep


Answers:
author: Sandeep Nagaraja
body: Thanks Dave

I am using 5.1.6 version of JIRA and when i click on Source Tab, i don't see '**Create review**' button and i only see "No related source found".

However i can see 'Create crucible review' button in the Source Tab for the issue where we have linked from Fisheye.

Cheers

<br />

Sandeep


author: davelahn
body: Hi Sandeep,

Please refer to the following documentation for steps of how to do this. Take note that you'll want to refer to the section for JIRA 6.1.x. and earlier.

The documentation can be found [here](https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+review+from+JIRA).

Best regards,

Dave
Viewing Mercurial bookmarks in FishEye
Asked by Daniel Phillips:

Hello,

We make use of Mercurial bookmarks in our Mercurial repository, but I haven't found a way to display the bookmarks in FishEye's commit graph for the repository yet. Is this possible?

Thanks!


Answers:
author: gustavo_refosco
body: Hi Daniel,

Currently FishEye does not support Mercurial bookmarks. There is an existing feature request for this at <https://jira.atlassian.com/browse/FE-5202>, please feel free to vote on it and follow the progress directly in the request.

For more information on how Atlassian implements new features and improvements please see the following document: <http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>  

Regards,

Gustavo Refosco
Syntax highlighting in Crucible review comments
Asked by Simon Hayes:

Hello,

Is it possible to add C++ syntax highlighting to Crucible review comments? At the moment, we are seeing the following -

Unable to find source-code formatter for language: c++. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml

switch

{

case conda: {} break;

case condb: {} break;

case condc: {} break;

}

Thank you.


Answers:
author: gustavo_refosco
body: Hi Simon,

In addition to Piotr's answer, you may find the following documents useful:

* [Configure syntax highlightning for non-standard file extensions](https://confluence.atlassian.com/display/FISHKB/Configure+syntax+highlighting+for+non-standard+file+extensions)
* [Defining your own syntax highlighting in Crucible or FishEye](https://confluence.atlassian.com/display/FISHKB/Defining+your+own+syntax+highlighting+in+Crucible+or+Fisheye)

Regards,

Gustavo Refosco


author: Piotr Swiecicki
body: Hi Simon,

I can see similar feature enhancement requests raised already, see <https://jira.atlassian.com/browse/CRUC-6762> or <https://jira.atlassian.com/browse/CRUC-6784>. Feel free to comment on them, vote on them or raise separate one, cpp specific.

We will try to address this if there is wider demand for this feature.

Thanks,


Tags: fisheye-crucible-administration
How can I sort issues raised from comments in Crucible?
Asked by Andy Moulster:

I would like to sort issues raised from comments in Crucible by state so that I can quicky see all issues that are open. The obvious/intuitive way to do this would be to click on the column header. Is it possible to configure the headers to do this?


Answers:
author: lpater
body: Hi Andy,

It's not possible to sort the 'Issues Raised From Comments' table at the moment, but it sounds like a good idea.

Please raise a [feature request](https://jira.atlassian.com/browse/CRUC), describe exactly what features you'd like to see and vote for it.


author: Tini Good
body: If you do raise a feature request, please post a link back here so others can go vote for it. I'd like this too.

comments: author: lpater
body: It's this one I believe: <https://jira.atlassian.com/browse/CRUC-6947>


author: Andy Moulster
body: Indeed it is!
Adding SVN Repository handshake alert: unrecognized_name
Asked by ?evket Emre Konuk:

I'm trying to connect my SVN to the crucible/fishEye repository but I keep getting the error:

Unable to get info for the repository root for DBE-Online  
handshake alert: unrecognized_name

<br />

Exception getting FishEye access control  
handshake alert: unrecognized_name  
at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)

I find a solution for similer problem in <http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade-to-java-1-7-0> and tried to change system Environment variable of FISHEYE_OPTS as

    -Djsse.enableSNIExtension=false

but it didnt work out do you have any idea to solve this problem?


Answers:
author: ?evket Emre Konuk
body: I checked the supported platforms I use :  
svn :ver. 1.8   
FishEye/Crucible ver: 3.5.3  
JDK : 1.7

Also restarted FishEye/Crucible several times.

I tried with another svn url <http://xxx it> worked. But in our svn connection has an ssl certification with url <https://xxxx> we can reach it with Subversion Light SCM plugin but we want to use native svn access


author: gustavo_refosco
body: Hi,Can you please confirm you've restarted FishEye/Crucible after setting this option?Please also confirm you are using a supported SVN version for your FishEye/Crucible version as per the Supported Platforms documentation: <https://confluence.atlassian.com/display/FISHEYE/Supported+platforms> (this one if for version 3.5.x)Regards,Gustavo Refosco


Tags: fisheye-crucible-administration
How to get changesets in a review to be in chronological order?
Asked by Jeff Lewis:

I have a review with 6 changesets. The first two listed at the top of the individual files are the latest changesets. Why aren't they at the end of the list?


Answers:
author: gustavo_refosco
body: Hi Jeff,Thanks for replying, I'm glad to know this was solved. In the image I sent I just added some changesets in which I changed a file, so when diffing this file I could see my changesets listed along the red line, starting with the older changeset (number 81) in the left, going until the latest (number 87) in the right.In case this come back please feel free to update this topic, maybe with a screenshot showing this behavior.Regards,Gustavo Refosco


author: Jeff Lewis
body: Yes, I am referring to the changesets in the redline when viewing the diff of a file. I was unable to look at the image you captured - our corporate firewall blocks that site. The problem has gone away. I poked around with adding and removing changesets, and refreshing the diff display, and now they are showing up in order. Sorry to have bothered you.


author: gustavo_refosco
body: Hi Jeff,I'm not sure I fully understand what's going on, could you please expose it further maybe with a screenshot? For now I think you are talking about the changesets showing up in the redline when viewing the diff of a file within the review, as the following image I captured, is this right?<https://www.dropbox.com/s/vmflwf7v1to1mka/changesets.png?dl=0>
Create a crucible project using CLI
Asked by yoav Jungmann:

Can a project be created using CLI as review can be?

If yes - How?

If not when will this feature be added?


Answers:
author: user1648639125013
body: Hi,

You can create a project using the REST API as described in the below documentation;

[/rest-service-fecru/admin/projects](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:projects)

Kind Regards,

Chris
Crucible, search by changeset/revision
Asked by Brent Webster:

Some of the management team want the ability to quickly search Crucible for any reviews associated with a svn revision(changeset) or a range of revisions? I used the word quickly because I assume the response will be to use the REST API but I'm always hopeful.


Answers:
author: Piotr Swiecicki
body: Hi Brent,

You can easily access this information on a changeset page, for example <https://fisheye2.atlassian.com/changelog/ehcache?cs=8354> page shows a link to [CR-9888](https://fisheye2.atlassian.com/cru/CR-9888) review, which contains this changeset. It would also shows other reviews if changeset was added to more than one review.

For more than one changeset you can try opening activity stream, filtered by particular branch, if changesets you want to interrogate belongs to single branch. See [https://fisheye2.atlassian.com/changelog/\~br=4.2.0-rc/ehcache/](https://fisheye2.atlassian.com/changelog/~br=4.2.0-rc/ehcache/) page for example, you can easily identify cs 9343 is added to CR-9895 review and cs 9337 to CR-9896.

Finally you can try installing FishEye Release Report: <https://marketplace.atlassian.com/plugins/com.atlassian.fecru.plugins.fecru-revset-report-plugin> On the commit graph you can pick up from and to revisions, to get report of all the issues linked to those changesets but also all reviews containing those changesets.

Hope that helps,   
Piotr
Report number of lines of diff per file
Asked by Brent Webster:

Problem:

For each file in a review, can the number of lines added, deleted, modified be displayed? The Review dashboard shows the # of files and # of comments per review and if you drill down into a review, the dashboards shows the # of comments against each file. Can we get the number of lines churned (added, deleted, modified) per file. Some of our reviews are quite large and if a designer has a couple of minutes free, they would like to "pick" some of the "smaller" files in the review that have a minimal numbers of diffs.


Answers:
author: Piotr Swiecicki
body: Hi Brent,

I'm afraid there is nothing built in into Crucible to display such information on a review page. But this kind of information can be easily retrieved using REST API. For example for review <https://fisheye2.atlassian.com/cru/CR-9888#CFR-10297> you can hit <https://fisheye2.atlassian.com/rest-service/reviews-v1/CR-9888/details.json> or <https://fisheye2.atlassian.com/rest-service/reviews-v1/CR-9888/details> to get the number of changed lines in each review file (check changedLines element). Documentation for this endpoint can be found on <https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html> page. Would you consider writing a plugin to get this information displayed on the crucible page?

Alternatively you may consider raising a feature request for Crucible in <https://jira.atlassian.com/browse/CRUC> project, if many customers express interest in such feature we would consider adding this to the Crucible core.

Hope that helps,

Piotr
Change the font of the Fisheye/Crucible email notifications
Asked by Tushar Kamble(HONEYWELL):

Which file do I need to check if I want to change the font of the Fisheye/Crucible email notification.

Thanks in advance.


Answers:
author: user1648639125013
body: Hi Tushar,

Email notifications can be customised by editing the template files held in the following locations;

`<FishEye home directory>/template/fisheye`

`<FishEye home directory>/template/crucible`

`<FishEye home directory>/template/shared`

More information on this can be found in the following KB;

[Customising email notifications](https://confluence.atlassian.com/display/FISHEYE/Customising+email+notifications)

Kind Regards,

Chris

<br />

<br />

comments: author: Tushar Kamble(HONEYWELL)
body: Thanks Chris,Where I can change/update the Font of the Fisheye/Crucible email notification.Regards,Tushar


author: Tushar Kamble(HONEYWELL)
body: Hi Any updates..


Tags: fisheye-crucible-administration
Crucible Logs user out often
Asked by Mangesh Gopale:

We are using Atlassian [FishEye analysis](http://www.atlassian.com/software/fisheye/)with [Crucible code review](http://www.atlassian.com/software/crucible/). (Version:2.7.11 Build:20120227023831 2012-02-27)

for the code review, There were 2 Reviewers for the Review request and myself and my colleague started the review simultaneously.

It was observed that we both were getting kicked off the crucible session abruptly. We could not figure out the reason but suspect that if there are multiple reviewers reviewing the request at the same time then this issue might be evident.

Such thing never happened with me when I was doing review earlier ( Single Reviewer)

It might be helpful infor mation to resolve issue if there is one.


Answers:
author: Piotr Swiecicki
body: Hi Mangesh,

This is weird situation indeed, I have never seen such behaviour before. We are using FishEye/Crucible internally doing reviews concurrently pretty often, most of our customers would use it same way too.

To properly investigate this case we would need more details - actual error message you are getting, your server logs run with the debug mode enabled. Could you raise a support request on support.atlassian.com so we would be able to effectively gather all required information and investigate this case?

By the way you are using over 2 years old version of FishEye/Crucible. There was 3.5.3 version released recently, perhaps you want to give it a try first: <https://www.atlassian.com/software/fisheye/download> ?

Kind regards,
How to configure Load Balancer for Crucible? Any documentation available on this?
Asked by Vijay Manda:


Answers:
author: JamieA
body: Crucible can't be clustered, so what purpose would an LB serve?


author: Chag
body: you might be able to load balance at the network layer. Get a networking device that loads balance between the two websites but, you will have to find a way to have the DB's in sync and same data.


author: Nick
body: You need a Crucible license, for each instance of Crucible you have running.

As mentioned previously however, Crucible can not be clustered, so load balancing will not work.

If you are concerned about performance due to many concurrent users, or many 1000s of projects on a single instance, one semi-solution which some customers use is to split your single instance down into separate ones. These will have different URLs etc and different data, though can work fine if your organisation can be split up into smaller groups of projects.

comments: author: Sergey Svishchev
body: Also note that Crucible does not yet support project migration between instances, so choose wisely how to split...


author: Sergey Svishchev
body: You can set up a cold standby instance and make sure your lb always gives priority to currently active one. As Jamie noted, actual load balancing is not possible.


author: Vijay Manda
body: Typical approach for better scaling. especially for enterprise level, we want go with multiple instances of crucible. and end user is exposed with load balancer host name.

in this aspect, i am not sure how crucible instances will be able to share load to avoid performance issues. and how does licenses work?

I appreciate your help in this!!

comments: author: JamieA
body: \> in this aspect, i am not sure how crucible instances will be able to share load to avoid performance issues. and how does licenses workthey can't.If you're worried about the host name being expose you can just use a reverse proxy, ie apache or nginx.


Tags: fisheye-crucible-administration
Using melody on fisheye
Asked by M:

Hello,

I would like to monitor Fisheye using Melody.

Is it the same procedure as Jira/Confluence/Bamboo?

Regards,

Guillaume Mackowiak.


Answers:
author: Piotr Swiecicki
body: Hi Guillaume,

Is this the plugin you are referring to: <https://marketplace.atlassian.com/plugins/net.bull.javamelody>? I am afraid FishEye/Crucible does not provide any integration points with Melody. It seems like JavaMelody provided plugin to monitor JIRA, Confluence and Bamboo: <https://code.google.com/p/javamelody/wiki/AtlassianPlugin>. Their documentation does not mention FishEye/Crucible, you may want to ask JavaMelody for any plans regarding FishEye/Crucible support?

Hope that helps,


Tags: fisheye-crucible-administration
Uninstall Fisheye Error
Asked by []D []-[] [] []_:

Hi there,

I am trying to uninstall FeCru 3.5.3a nd getting this Error:

[java.io](http://java.io).FileNotFoundException: C:\\Atlassian\\Crucible\\FeCru\\.install4j\\files.log (File not found)

Can anybody give me an advise what to do?

Thanks


Answers:
author: gustavo_refosco
body: Hi Phil,

I suspect that you might be facing a permission issue on the folder. Could you please ensure that you're running the uninstaller with an administrator account and that you have full control access on the application folder?

In case you already checked this and you are still unable to uninstall it, you may try to remove the installation manually, and then install again (I tested this locally to ensure the new install works properly):

1. Remove the "`Atlassian FishEye`" (or "`Atlassian Crucible`") service. this can be manually done by stopping the service, and then running the following in the Command Line:

   ```
   SC DELETE "Atlassian FishEye"
   ```

2. Remove the directory where FishEye is installed (`C:\Atlassian\Crucible\FeCru`).

You can then proceed installing it again (if this is your intention).

Regards,

Gustavo Refosco


author: []D []-[] [] []_
body: Hello,

thank you for your advise Gustavo, even though i resolved the problem in the meantime by myself:

1. Installing FeCru into a fresh directory

2. Copy the files.log into corrupted installation

3. Uninstall instance

comments: author: gustavo_refosco
body: Hi Phil,Thanks for pointing that as an option too :)Regards,Gustavo Refosco


author: Pablo Beltran
body: Did you try by creating it? I.e: touch files.log

comments: author: gustavo_refosco
body: Pablo,I tried it before trying the manual uninstall. In fact there is some information in the original files.log that I believe is used by the uninstaller, so a file without content didn't help for me.
Does SourceTree interface with JIRA?
Asked by pat_alt_non-use:

We are new to GIT and related tools. We would like to migrate our issue tracking data, and our software repository to a set of tools that work well together. In particular the SourceTree graphic presentation of the code evolution is important for us.

JIRA interfaces with BitBucket.

SourceTree interfaces with BitBucket.

So, can we assume all three will work in conjunction?


Answers:
author: Mikael Sandberg
body: Hi [@pat_alt_non-use](/t5/user/viewprofilepage/user-id/4346538),

Welcome to Atlassian Community!

There isn't an integration between Sourcetree and Jira, see Sourcetree as your GUI for Git. But you will be able to use smart commit comments in Sourcetree and the integration between Bitbucket and Jira will pick that up.

comments: author: pat_alt_non-use
body: Good to know


Tags: jira