youngmon/atlassian-qna huggingface dataset:
Closing of defects on (crucible)
Asked by Rahul Aich [Nagra]:

Hi All

I have two questions.

- The author/moderator creates a review; then reviewer raises some defects, the author fixes those defects but here how does the author mark/highlight that the defect is now fixed. This way that defect stops appearing on the comment search utility.

- Secondly, it seems that the author can close a review even with open defects/comments. How can we prevent the review from getting closed when there are open comments/defects (I want to avoid the scenario when the author cannot fix the defect and he simply closes the review to improve his statistics). Is it possible that the reviewer performs some kind of validation that the defect is now fixed to his satisfaction and only then the author can close the review.

Rahul


Answers:
author: Sergey Svishchev
body: Crucible is very forgiving -- you can close a review with no reviewers, for example, but its reporting tools don't take this into account. In my opinion, better reporting tools are more useful than more strict controls.

There's at least one 3rd party reporting plugin (<https://marketplace.atlassian.com/plugins/biz.deref.flyover.flyoverForCrucible>) that's much more thorough.

comments: author: Rahul Aich [Nagra]
body: Ok. Thanks Sergey. Is there a way to close an individual defect? At the moment we are simply converting a defect into a comment once we fix the defect?

We want to flag the defect as fixed. Is it possible on crucible?

Rahul


author: Sergey Svishchev
body: I don't think it's possible


author: Tini Good
body: We use a Custom Classification called "Status" to show whether a defect is Open or Resolved, but Crucible doesn't recognize it, so we have to manually verify that all defects are "Closed" before closing the review. Crucible Advanced Search makes this only semi-painful.
All tab on crucible dashboard
Asked by Rahul Aich [Nagra]:

Hi All I am on crucible 2.7 On the Dashboard we have four tabs.

The first one is the tab ALL On clicking the tab ALL we get info such as PROJECTXXX-200 commented on review or PROJECTxxx-200 replied to UserZZZ like that.

My question is, as a reviewer if i raise a defect still the tab mentions it as PROJECTXXX-200 commented on review rather than PROJECTXXX-200 raised a defect (this is a bit misleading)

Can anyone suggest if this is a bug? Or if there is some configuration setting (if any) which can differentiate between a comment and a defect.

My gut feeling is that the system is designed this way which assumes defect as a sub-set of comment. However, wanted to check with you guys if at all there is any workaround.

Rahul


Answers:
author: rstephens
body: Hi Rahul,

A "defect" is just a note on a comment with a specific flag on it. At the moment, the activity stream doesn't render the fact that a comment is flagged as a defect. THis would however be a fairly simple feature to add, so you should [submit a feature request](https://jira.atlassian.com/browse/CRUC).

Kind Regards,  
Richard Stephens
Github repositories, forks and FishEye?
Asked by chefkoch:

I already know the documentation at <https://confluence.atlassian.com/display/FISHEYE/Git> and I was able to add several repositories we have at github.

However is there a way to include (selected) forks?


Answers:
author: rstephens
body: Hi,

FishEye allows you to add the fork of a repository as a separate repository. This will allow you to index the fork, but unfortunately FishEye does not have any mechanism for recognising commits shared between repositories. So any commits that exist in both the forked and original repo will show up multiple times.

Kind Regards,  
Richard Stephens


Tags: fisheye-crucible-administration
Crucible automatically commit/merge after review approval
Asked by Ryan Carlson:

Is there any feature in Crucible available that can automatically commit after a review has been approved? For example, if we use a development branch with a post-commit review, can the branch be automatically merged back into the trunk?


Answers:
author: Sergey Svishchev
body: Crucible itself cannot do this (its access to code repositories is read-only), you'll need an external tool.


author: tobias allen
body: **This is something also I would like for fisheye/crucible!**

Same functionality as using jira+bitbucket - developers work on their feature branches and after review (approved) they will be merged into trunk.


author: Maciej Lad
body: Could you explain more - or examples an external tool ?
Is there a way to link issue from code in review?
Asked by david.humeniuk@udri.udayton.edu:

We put TODOs in code all the time with JIRA issue tags (ABC-123). Is there a plug-in or some way to have Fisheye/Crucible create a link to the issue just like it does with other issue links when code is shown?


Answers:
author: david.humeniuk@udri.udayton.edu
body: I have actually moved to using Stash with Git about a year ago. Thanks though.


author: CelsoA
body: Hi David,

Maybe this plugin can help you:

<https://marketplace.atlassian.com/plugins/com.atlassian.mhenderson.reviewers>

Please give it a try and let me know how it goes.

Regards,

Celso Yoshioka


author: david.humeniuk@udri.udayton.edu
body: I didn't realize you could see a link looking at the source, but yes it would be even more important for me at the review level when someone adds a reference to an issue and I want to see what it is all about.

It would also be nice when viewing source during a review or just through Fisheye if the link would also have the hover over display of the summary like it is done in Crucible for existing issue links (so you don't have to actually click on the link and bring up a new tab/window).


author: rstephens
body: Where would you like to see the llink? When viewing source, FishEye will generate a link to JIRA from the JIRA key. Would you like to be able to see a link at the review level?
Fisheye Setup question.
Asked by Jerome Taylor:

Do I need to set up the "Server Setting -\> Subversion client" if I access a Subversion repository using the protocol file://

Also do I need to specify a usename/password using the protocol file://


Answers:
author: rstephens
body: Hi Jerome,

You do not need to specify a username and password if using the file protocol.

The specification of subversion client is optional but if you specify one, it will be used for all subversion queries including using the file:// protocol. Fisheye bundles the SVNKit Java SVN library, and this will be used to access Subversion if you do not specify a client.

Kind Regards,

Richard Stephens


author: Sergey Svishchev
body: No and No.


Tags: fisheye-crucible-administration
Fisheye error message
Asked by Rumceisz:

Hi All,

by several repos we get the following error message in Fisheye:

Unable to initialise repository XRepo due to com.cenqua.fisheye.config.ConfigException:Could not access <https://subversion.host.com/svn/Jira//trunk/02-CODE/jiraPlugins/linkmanager> : java.util.concurrent.TimeoutException

or:

Unable to initialise repository YRepo due to com.cenqua.fisheye.config.ConfigException:Could not access <https://svn/svn/trunk/> : org.tigris.subversion.javahl.ClientException: svn: E175002: CONNECT request failed on 'http://ttt-hhhh-fewf3.inet.ee.xxe.com:8080'

What do these messages mean?

Can you please help?

Thanks in advance,

Rumi


Answers:
author: J. Caldwell
body: It looks like your config for a repository is broken. I would check and see if the the connection setup to your subversion system is correct.

comments: author: Rumceisz
body: Hi,

which parameters do you mean?

I only know the SVN url, user, pw


author: J. Caldwell
body: All of them. I see several things wrong with the repo information. It's using a confusing URL, user and password. From there if all those are correct, and you can hit that URL, I would see about time out and path to your SVN repo from the Fisheye server.


Tags: fisheye-crucible-administration
How to view files and file version number in a subversion changeset in FishEye?
Asked by Greg Warner:

One of my users has asked for a report featuring all of the files and their subversion revision number for a changeset. They use the word baseline, but I think the equivalent in subversion would be a tag or changeset.

I've instructed them to navigate the folder structure and while using the "files" tab they would see this information. They need this to meet some finance regulations about the configuration of our ERP system. Is there a FishEye report that could generate this?


Answers:
author: rstephens
body: Hi Greg,

Unfortunately there is not a report in Fisheye that will generate this but you can generate it quite trivially with subversion directly using the [svnlook command](http://svnbook.red-bean.com/en/1.7/svn.ref.svnlook.c.tree.html):

e.g.:

proteus:\~ atlas-dev$ svnlook tree testrepo --show-ids

/ \<0.0.r2/258\>

b \<0-2.0.r2/28\>

a \<0-1.0.r1/28\>

proteus:\~ atlas-dev$

Where the number after the 'r' is the last revision number that modified that file.

Kind Regards,

Richard Stephens


Tags: fisheye-crucible-administration
Review Diff is Incorrect
Asked by Nathan Sharp:

We recently moved to a production server. It took a day to reindex our source, which is fine. However, during that time period I browsed to a couple of the open reviews from the old server that hadn't been viewed yet. Since the repository was not ready yet, it pulled in an incorrect diff for several files that show the file being entirely removed. Now that the repository is finished indexing, the reviews still show the wrong data. If I click on the revision number at the top of the review diff page, the fisheye page shows the correct diff. How do I flush the right cache so that the review shows the correct data?


Answers:
author: Daniel R
body: Hello Nathan,

I believe the following KB article will help:

<https://confluence.atlassian.com/display/FISHKB/Reviews+Mix+File+Types%2C+Clear+Inconsistancies+In+Stored+Diff+Cache>

Thanks,


Tags: fisheye-crucible-administration
Unable to loginto admin panel of crucible
Asked by Roman Kushalov:

Hi!

When I try to log in to our server (CR2.10.4 (20130403093648 2013-04-03))

<https://crucible.mydomain.com/admin/>

I see only "Your request was unable to be processed"

Can you help me? Tnx


Answers:
author: Foong
body: Hi Roman,

Please raise the issue at <https://support.atlassian.com>


Tags: fisheye-crucible-administration
Are the Fisheye licenses linked to JIRA licenses?
Asked by Donncha Daly:

We are currently thinking of upgrading the number of JIRA licenses to the 25-50 license band. However we only have a few users using our Fisheye installation. We use the JIRA to FIsheye connector plugin.

Do we have to upgrade the number of Fisheye licenses as well?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: JIRA and Fisheye licenses are independent of each other. As Tim said, if you want to access Fisheye source information from JIRA using more number of users, then Fisheye license should also be increased. But if you are using a common account or something to access Fisheye info from JIRA (using basic auth), it doesn't matter.


author: Timothy
body: If these extra users in JIRA needs to use Fisheye, then yes.


Tags: fisheye-crucible-administration
Can two fisheye repositories point to the same Subversion repository?
Asked by Jerome Taylor:

We need to allow global access to a fisheye repository for one user group while limiting access to another user group.

The thought was to create two fisheye repositories that point to a single Subversion repository.

Access to folders in each fisheye repositories would be configured to meet the needs of its user group.

Are there any know or unknown problems with this setup?


Answers:
author: Bhushan Nagaraj
body: You can have any number of fisheye repositories that point to the same subversion url


Tags: fisheye-crucible-administration
JIRA and Fisheye with Subversion
Asked by Edward To:

A couple of quick questions for those who many already know the answers.

1) Can JIRA be installed on the same subversion server (running Apache 2.2 with SSL)? Or would it conflict?

2) If I want to use Fisheye to connect to my subversion repositories, do all three products have to live on the same server? Or can I have JIRA and Fisheye live on one server and my subversion live on another server? In other words, can Fisheye reference the subversion repositories if the repositories are located on a different server?

Thanks for you responses.


Answers:
author: rstephens
body: Hi Edward,

1. No - there is no reason why they would conflict.

2. There is no need for them to run on the same server. FishEye/Crucible can connect to the remote repository on your Subversion server, and JIRA can then connect to FishEye/Crucible, as long as they can all see each other.

Kind Regards,  
Richard Stephens


author: Bhushan Nagaraj
body: Hi Edward,

It is best to keep Fisheye and Subversion on the same server as you can add the repositories using file:/// instead of http which makes it much quicker.

Cheers

Bhushan

comments: author: Nick
body: Have a look at the first point in <https://confluence.atlassian.com/display/FISHEYE/Best+practices+for+FishEye+configuration>

. You can use svnsync to mirror your svn repo onto the same server that FishEye is installed.


author: Harry Chan
body: 1) JIRA is installed on Tomcat - a Java web server.

2) They can all be installed on separate servers if required[.](https://www.cloudshards.com/fisheyehosting.php)


Tags: fisheye-crucible-administration
Diff files from different branches
Asked by GLENN MAYER:

Is it possible to use the diff feature in Crucible to show differences between the same file in two different code branches? For instance I have a pom.xml file in the /2013.08 release branch in Perforce. I would like to diff that against the same pom.xml file in the /2013.05 release branch. From a source control perspective, these are essentially 2 different files (we have simultaneous development going on), but from the developers' perspective, they are different versions of the same file.

Hmm..I thought I could attached a screen shot, which would make this clearer...

Anyway, is there a way to do this? In Perforce, I can diff any two files...


Answers:
author: Foong
body: Hi Glenn,

It seems that you are looking for the following feature requests:

<https://jira.atlassian.com/browse/FE-239>

<https://jira.atlassian.com/browse/CRUC-1542>

comments: author: GLENN MAYER
body: I'm not sure it's the same thing. Those outstanding requests appear to relate to the ability to diff entire branches. What I'm looking for is the ability to diff ANY two files, not just different versions of the same file.


author: Foong
body: Since it is not possible to diff between branches, it is not possible to diff ANY two files from different branches too. Please add your comment to the feature request to include the ability to diff ANY two files from different branches.
Merging onDemand FECru with existing hosted instance?
Asked by Isaac Montes:

Need to find a way to merge onDemand Fisheye Crucible with an existing hosted instance.  
I looked at the migration guide, it documents how to migrate to a new clean instance, but there is no instructions on how to merge them together without losing any data for either.


Answers:
author: Foong
body: This is not possible at the moment. Feature requests:

<https://jira.atlassian.com/browse/CRUC-681>

<https://jira.atlassian.com/browse/CRUC-1948>

<https://jira.atlassian.com/browse/CRUC-6295>


author: Sergey Svishchev
body: Because this feature is missing in FeCru. You can manually merge the Fisheye part (copy/paste \<repository\> settings from config.xml and copy/rebuild repository caches), but Crucible part is the hard one. So far no one publicly posted a working method.

comments: author: Isaac Montes
body: Crucible part is the one I'm looking for


author: Peter T
body: Hi Isaac,

customer code/scripts should be written. It may to quite time consuming. If you are looking for easy/free solution. There isn't one, unfortunately.

Cheers,

Peter T


Tags: fisheye-crucible-svn-ondemand
I want to include an email alias on all code review mails
Asked by Nassar Stoertz:

We're using Crucible/FishEye for code reviews, and I'd like to include the email alias [code-reviews@mydomain.com](mailto:code-reviews@mydomain.com) on all outgoing reviews.

Is it possible to do this without creating an additional Crucible user that counts against our user count for billing purposes?


Answers:
author: Nassar Stoertz
body: Thanks for the answers. I followed Tini suggestion of setting up a forwarding on my mail server. Unfortunately, Google Apps Gmail doesn't have great support for mail forwarding, so I had to hack around this using a Gmail monitoring account and filter.

This link helped in case anyone else has the same problem:

<http://www.quora.com/Why-cant-Gmail-forward-outgoing-mail>


author: Tini Good
body: You know I thought about what you asked some more, and I'm not sure I understand your goal. If you just want to have all Crucible emails also go to an extra email address, why not setup a rule on your mail server or in your mail client to forward a copy to that extra address?


author: Tini Good
body: In Crucible Administration \| Global Settings \| Server, there is an option for Mail Server. I have my "From Address" set to [Server@mydomain.com](mailto:Server@mydomain.com), and I've selected the option to "send emails from the Server address (below)". That email address is a fictitious alias that doesn't exist on the Exchange server. On the incoming emails I receive via my Exchange server, it identifies the Crucible user and has that server email address. Example: Bob posts a comment. I get an email that Outlook identifies as from "Bob @ MyDomain \[Server@mydomain.com\]".

On JIRA, I had a separate email address created on the Exchange server called "JIRAServer@mydomain.com". My JIRA subscriptions come in from that address. Emails on JIRA comments still come in as "Bob @ MyDomain (JIRA) \[JIRAServer@mydomain.com\]".

Neither of those email addresses use an account. However, both still identify the person who performed the activity, even though the "from" email address is changed to what I configured in the FE/Cruc/JIRA admin settings. I think that is as close as you can get out of the box. It is also easy to identify the sending system based on the email Subject.


author: rstephens
body: Hi Nassar,

Unfortunately Crucible does not provide a built-in way to copy all emails to a specific address. However, you could achieve similar functionality by building a simple plugin to listen for [these events](https://developer.atlassian.com/static/javadoc/fisheye/2.7.3/reference/com/atlassian/crucible/event/package-summary.html), and fire off an email when they are received.

Kind Regards,  
Richard Stephens

comments: author: Nassar Stoertz
body: Thanks. Hopefully Atlassan can consider this feature in the future.


Tags: fisheye-crucible-administration
Implementing SOAP Client for crucible.
Asked by Sanjeev Kulkarni:

I found this little article about writing SOAP clients for Crucible/Fisheye,

<https://confluence.atlassian.com/display/FISHEYE020/Writing+SOAP+Clients+for+Fisheye+or+Crucible+RPC+Plugins>

I am unable to locate/find wsdl path on crucible instance. Any hints/examples of soap clients would be much appreciated.

Also is it possible to fetch information of all active users in Crucible/Fisheye? I don't see any API's for this.


Answers:
author: Sanjeev Kulkarni
body: Thanks for the prompt response Jobin.

comments: author: Jobin Kuruvilla [Adaptavist]
body: That's one way to answer the question. lol


author: Sergey Svishchev
body: How do you define 'active'?


author: Jobin Kuruvilla [Adaptavist]
body: This is for an earlier version of Crucible. Use REST API. See <https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#d2e2332> for getting users.

comments: author: Sanjeev Kulkarni
body: Hello Jobin,

Thanks for the response.

I could guess SOAP is no more supported but was not sure enough. I went throgh the link pointing to REST API showcasing fetching of Crucible users information.

My requirement is to write a client which would fetch information about users who are logged into Crucible at that given point of time (I am terming this as active users). I don't see any API's listed in the link provided by you to support this? Is it possible or not?


author: Jobin Kuruvilla [Adaptavist]
body: I don't think that is possible yet.
Fisheye forgetting everything after restarting...
Asked by Scott Hung:

Hi Folks,

I'm running an evaluation copy of Fisheye 2.10.4 on a Linux box. I restarted Fisheye with bin/stop.sh \& bin/start.sh. After restarting it's as if Fisheye lost all its memory. I had to re-enter the license key and disturbingly Fisheye is no longer linked to the repos it indexed previously. I reconnected them and now it's re-indexing from the start of time. How can I avoid having this happening?

2nd part of the question: The reason I restarted Fisheye is because I needed to install the SVNkit client. I followed [these instructions](https://confluence.atlassian.com/display/FISHEYE/Subversion+client) which says "restart Fisheye" in the last step. Guess what? After restarting, Fisheye also forgot the configured SVNkit client! So, now I'm stuck in a Catch-22... I'm sure I'm doing something wrong so any pointers are appreciated!

Thanks,

Scott


Answers:
author: Sergey Svishchev
body: Have you set FISHEYE_INST? Is it still set to the same value?

By the way, SVNkit is included with Fisheye, did you mean 'native client'?


author: Scott Hung
body: That was it! I had set FISHEYE_INST in /etc/environment but never actually did "export FISHEYE_INST..." Silly me!

Re: SVNkit - Yes I wanted to use it, but thought I still had to point Fisheye at its JAR file (the server -\> SVN client entry is blank). In any case, now that I have Fisheye remembering its configuration I'll play with it some more and see what I get...


Tags: fisheye-crucible-administration
Crucible user management
Asked by Nigel Owen:

We have reached the user limit on our crucible license, but there are considerable people who are not regular users who are filling up the licensed user limit, can we run some SQL or process that would mark them as inactive and not using the license allocation. I dont want to lock them out as they may in the future want to log in ?

Additionally is there something I can run that will remove all users who have not used the system in a year, and does this corrupt or invalidate the review history ?


Answers:
author: Yilin
body: Maybe you can try to disable some user in the table cru_user to set "cru_fisheye_enabled" or "cru_crucible_enabled" to 'f' which will help you to reduce the active user compte in the licence.

For the second one, currently it is not possible..... sorry about that.


Tags: fisheye-crucible-administration
problem with acess some information in subversion repository
Asked by Cl?udia Silva:

hello,

i have the main path do acess my subversion repository (for example: <http://pahto/ROOT_FOLDER/>

so, in my "ROOT_FOLDER" i have many others FOLDERS that have many type of information.

My problem is: there are folders that do not appear in any content repository (or files or other folders contained or activity). and i dont understand why, because i have same acess to all folders/directories/files

is there any explanation for this?

best regards


Answers:
author: Foong
body: You may want to check if you have set any [include/exclude rules](https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+Paths) in the repository at *Administration \>\> Repository Settings \>\> Repository \>\> \<reponame\> \>\> Include/Exclude Paths*


author: Sergey Svishchev
body: Maybe the user account that Fisheye uses to talk to SVN has limited access.


Tags: fisheye-crucible-administration