youngmon/atlassian-qna huggingface dataset:
Crucible installation recommends creating a separate user - why?
Asked by BillBu:

Step 4 in the instructions for installing Crucible say to create a separate user. Why is this and what will happen if you don't do it?

Text from instructions below:

### 4. Create a dedicated Crucible user (recommended) {#toc-hId-1421494110}

For production installations, we recommend that you create a new user account on your operating system that is dedicated to running Crucible. This user:

* Should *not* have admin privileges.
* Should be a non-privileged user with read, write and execute access on the Crucible home (install) directory and instance (data) directory. These directories are described below.
* Should only have read access to your repositories.

If you created a dedicated Crucible user, ensure you are logged in as this user to complete the remaining instructions.


Answers:
author: Piotr Swiecicki
body: Hi Bill,

The rationale behind this recommendation is the security. FishEye/Crucible is a Java application and can only be as secure as JVM is. In case there is any security threat introduced in FishEye/Crucible code (which we endavour to avoid obviously) or in JVM, potential attacker could take control over the instance. Now, if the instance is run by dedicated OS user without privileges to any other systems on that server, the worst that can happen is that attacker accesses FishEye/Crucible data. But if this is shared account user by several system, or even a root account with full priviliges, the potential damage can be much wider.

By the way it is generally accepted best practise to run each service on dedicated user, this is why web servers, databases, mail servers etc. usually run on dedicated users, too.

Because of the above we recommend using dedicated user on production systems.

Hope that helps,
Unable to start review for a Git branch
Asked by Thomas Hauk:

After purchasing 10-user licences for both Crucible and FishEye, I am unable to start a review for a branch in my Git repository.

The Git repo is a repo created with git-tfs bridge running on a Windows PC. When I was using the evaluation licence, everything worked correctly.

Problem #1: After upgrading to 3.4.4, the repository (as listed in Crucible) was "Stopped". It couldn't be "Started" until a re-indexing was done; but I couldn't re-index because it was "Stopped". This is a fine Catch-22. I resolved it by forcing a full re-clone and re-index.

Problem #2: The re-indexing did not finish because the Git repo contains commits from more than 10 people. (see image below)

Problem #3: The following header appeared at the top of my browser page. The "Evaluate, Upgrade or Reconfigure your repository" link, which is the shortened URL confluence.atlassian.com/x/3IIfD, does not work.

![](../../upfiles/Screen_Shot_2014-05-27_at_1.29.26_PM.png)

Problem #4: It is not clear what the problem is or how I would resolve it by "reconfiguring" my repository.

Problem #5: The branch on which I would like to start a review does not appear in the list of branches when I create a new review; when I manually enter the branch name instead of "master", the message "No matching changesets" is displayed.

How do I fix these issues?


Answers:
author: gustavo_refosco
body: Hi Thomas,

Please take a look at [](https://confluence.atlassian.com/display/FISHKB/Git+or+Hg+Repository+exceeds+number+of+allowed+Committers)<https://confluence.atlassian.com/display/FISHKB/Git+or+Hg+Repository+exceeds+number+of+allowed+Committers>for a workaround for this issue. As described by it, one of the easier solutions is to use the .mailmap file.

For the link that is not working I've created a bug report you can see at [](https://jira.atlassian.com/browse/FE-5233)<https://jira.atlassian.com/browse/FE-5233>. Please feel free adding any comments to it as well as [voting](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) to create it's popularity and likelihood of being implemented in a future release.  

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)<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

<br />

Regards,  
Gustavo Refosco  
Atlassian Support


Tags: fisheye-crucible-administration
Concurrent users in crucible / fisheye?
Asked by jcurleyWR:

I inherited supporting Crucible for a week or so, while the current admin is on vacation, and wouldn't you know it, management asks for some usage statistics, for a meeting in two days.

Is there anyway to query or scan the logs, to see the maximum number of concurrent users we had, either at the present time, by day, or a longer period? (I'll take anything.)

Is there anyway to find out how many concurrent users we are licensed for?

We are using Crucible 3.0.1 and MySQL 5.6.17 on a CentOS 6.4 machine.

Thank you \* 2.

p.s. Should this question have been tagged with fisheye or crucible?


Answers:
author: AafrinA
body: Hi John,  

This is not possible to do in Crucible. However, you can get a list of user activity from the database for Crucible activity. Run the following query to return all the user Crucible activity:-

```
SELECT * FROM `cru_logitem`
```

<br />

<br />

comments: author: jcurleyWR
body: As soon as I find out the mysql user id and password, I'll give it a try. (next week, when the real crucible admin returns.)

Thank you.


author: jcurleyWR
body: This works to a point. It retrieves 80,000 records. I will have to figure a way to parse that into some useful statistics. I'll have to read the MySQL manual and learn the "count" function.

Thank you.


author: jcurleyWR
body: I submitted a support request and they helped me.

It turns out that we have the unlimited users license for Crucible/fisheye. That is probably why the admin interface does not display the license number.

Case closed. Thank you Aafrin and Richard.


author: rstephens
body: Hi John,

You can see the size of the license you have installed by looking at the System Info page in Crucible administration

I can't think of a simple way to determine what percentage of your userbase uses Crucible, but you could try turning on debug logging and counting the number of hits to the dashboard in a day. (Grep for the string "end request GET / "). If you are using an external auth system you can also grep the debug logs for "recreateAuth"

Kind Regards,  
Richard Stephens

comments: author: jcurleyWR
body: Thank you Richard. I will also give that a try next week.

I do know that we have Crucible version 3.0.1, which does \*NOT\* display the size of the license. We have plans to upgrade, which may help solve this problem.


author: jcurleyWR
body: Maybe I should submit a support request?


Tags: fisheye-crucible-administration
connect ondemand-jira and (corporate network) svn
Asked by dkress:

Hi,

we use the ondemand-platform-jira and a SVN in a corporate network and we want to achieve that the SVN commit information (file path and name, commit comment, version number) appears in the corresponding jira ticket (by entering the jira ticket id in the commit comment).

As I have learned, the "nearest" solution (the SVN plugin in jira) is not available on the ondemand platform.

The alternative is to use FishEye.

Now my question:

Where does the FishEye application have to be installed to provide best the connection between ondemand-jira and cn-svn:

- in the corporate network (-\> near the svn) ...

- ... or in the ondemand environment (-\> near the jira) ...

- ... or ... ?

Kind regards

Daniel


Answers:
author: rstephens
body: Hi Daniel,

You will have to install FishEye in an environment where it can both access your SVN server, and is also accessible to Atlassian's OnDemand hosting. If you install it behind your corporate firewall then you will need to open up a port for the hosted JIRA to connect to it.

-Richard

comments: author: dkress
body: Hi Richard, many thanks for your answer!


Tags: fisheye-crucible-administration
How to hide username display in crucible side-by-side view
Asked by Chris Monkiewicz:

In side by side view in Crucible with the files side panel collapsed, a major waste of space is the name and email address of the submitter on the left side. Is there a way to hide this?


Answers:
author: Piotr Swiecicki
body: Chris,

Of course there is a way to hide this information, see

![](https://monosnap.com/image/IOwjv2MRqLRl9FF56U26XUifma1XgO.png)

comments: author: Bryan Young
body: I don't have the 'Show Columns' section on a new Crucible installation I just setup (v3.4.4). We have it on our old server (v2.7.11). Is there an option we have to turn on in the configuration?
Jira integration with two Perforce servers using Fisheye
Asked by Avi Ziv:

I want to integrate Jira with Perforce by FishEye. We have several independent Perforce servers (because historical reasons).

My question is: if part my projects are related to Perforce Server1, other projects with Perforce Server2, is there any limitation on it?


Answers:
author: lpater
body: Hi Gaby,

you can add multiple repositories from multiple Perforce servers to FishEye. Most licenses (except for the $10 Starter license) don't have any limitations with the regard to the number of repositories you can add.

Adding the repositories in FishEye will allow you to view Perforce changelists associated with the issues in JIRA (and if you use Crucible create and view reviews for them).

comments: author: Avi Ziv
body: Thanks a lot.

Gaby


author: Avi Ziv
body: About enabling Perforce Job Integration, because I want to publish Jira issues as Perforce jobs.

Is there any limitation? Because it seems one definition is expected and want to enable the job integration for 2 Perforce servers.

Thanks,

Gaby


Tags: fisheye-crucible-administration
admin account
Asked by kevin lofton:

create admin account


Answers:
author: Nick
body: Hi Kevin,

Unlike other Atlassian products, FishEye/Crucible still has a special admin account, which is created during setup, and has no associated user account with it, just the password.

After this account is set however, you can add one or more users to the list of Administrators, all of whom can administor FishEye or Crucible.

Please let us know if you require any further information.

Cheers,

Nick


author: Nic Brough -Adaptavist-
body: Helps if you actually ask a question.


Tags: fisheye-crucible-administration
Bulk add git repositories to fisheye?
Asked by Mark Beierl:

I can use an HTTP post to load repositories into the git plugin for Jira, but is it possible to do this for Fisheye at all? Or can Fisheye use the repositories already defined in Jira?

It seems to be a real shortcoming of the product suite that I have to manually duplicate all this data.


Answers:
author: rstephens
body: Hi there Mark,

Recent versions of Fisheye have a REST API for adding repositories: [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e227)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e227>

Depending on your environment, you may also find this plugin useful: [](https://marketplace.atlassian.com/plugins/com.atlassian.fisheye.repositron)<https://marketplace.atlassian.com/plugins/com.atlassian.fisheye.repositron>

-Richard

comments: author: Mark Beierl
body: Thanks, but the documentation there does not match what the REST API really seems to want. For example, the link shows:  

```
{  "type" : "git",  "name" : "myGitRepo",  "description" : "My GIT repo",  "storeDiff" : true,  "enabled" : true,  "git" : {    "location" : "git@bitbucket.org:atlassian/fecru-rest-examples.git",    "auth" : {      "authType" : "key-generate"    },    "blockSize" : 400,    "commandTimeout" : "1 hour",    "renameDetection" : "NONE"  }}
```

as the JSON string to use for creating a git repo. That syntax does not work at all. In fact, the following in needed:

```
{  "type" : "GIT",  "name" : "myGitRepo",  "description" : "My Git Repo",  "url" : "git@bitbucket.org:atlassian/fecru-rest-examples.git"}
```

And then a series of additional calls are needed to enable and start the repository. Where do I find the documentation for what JSON is \*really\* used by Fisheye?


author: Maciej Swinarski
body: Hi Mark,

It looks like you are looking at 2 diifferent endpoints.

**rest-service-fecru/admin/repositories-v1**

* deprecated in 3.4
* Documentation with examples: [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories-v1)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories-v1>

**rest-service-fecru/admin/repositories**

* added in 3.4
* Documentation with examples: [](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>

Your first example is valid for **rest-service-fecru/admin/repositories** , and it looks like you are using **rest-service-fecru/admin/repositories-v1**

Hope it helps

mac
Crucible: Automatic email notifications when a review is logged.
Asked by Anuj Rattan:

We are using crucible for peer code reviews. We have set up an smtp server and we are able to send the test mail from the same window under administration console. Also, we are receiving the reminder emails one day before the expiration of the review (as set by the reviewer). Now we would like to send a notification email to all the reviewers stating that a new review is logged. We are not able to achieve this. Where can I find the option that would allow me to setup or modify the email triggering event?

Any help is appreciated.

Thank you


Answers:
author: gustavo_refosco
body: Hi Anuj,

Actually notifications for new reviews are sent by default, but they will be sent only when the review is started.

For further clarification, please take a look at [](https://confluence.atlassian.com/display/CRUCIBLE/Choosing+reviewers)<https://confluence.atlassian.com/display/CRUCIBLE/Choosing+reviewers>under **Checking the draft and starting the review** : "During the draft phase, no notification email is sent out to reviewers. Once the author is finished with the draft phase, they click **Start Review**. The review will now be started and notification email will go out to all participants".

comments: author: Anuj Rattan
body: Hi Gustavo,

As per the last reply, we tried starting the reviews but we did not receive any email. Also, Followed the steps given in the link you provided but it is still a no go.

I think we are missing something.


Tags: crucible-without-fisheye

email

notification
upgrade regarding Fisheye and Crucible Security Advisory 2014-05-21
Asked by Didier Riedinger:

Hello,

Currently Fisheye and Crucible 3.1.3 are installed on our server with a 10 users license. Which Fisheye and Crucible version shall I install/upgrade to fix the vulnerability "Fisheye and Crucible Security Advisory 2014-05-21"? What are the detailed steps to follow for the upgrade (we have only a production instance of Fisheye/Crucible)?

I'm only the administrator of Fisheye/Crucible/Jira. Do I need super user permission on the server for the upgrade?

Thank you in advance.

Best regards.

Didier RIEDINGER.


Answers:
author: PeterP
body: The advisory and your answer is confusing. The advisory states that 3.x is affected then says 3.0.4 is OK and 3.1.7... etc. It is \*unclear\* that you maintain releases of 3.0.x, 3.1.x 3.2.x 3.3.x and 3.4.x ... and that you're asking people to upgrade within those release sets!

It would be much simpler to just say upgrade to the latest version 3.4.4 which would have the benefit of getting your customers onto the latest version.

IMHO that is just version management madness :-)

Peter McNeil.


author: Nick
body: Hi Peter,

Any version later than 3.x was affected, until we released the fix versions of course.

These are released in case some users don't wish to upgrade to a major point release. In that case, they can upgrade to the latest minor point release, which we've just done. The following releases are all safe to upgrade to 3.0.4, 3.1.7, 3.2.5, 3.3.4, 3.4.4, and if you are running a version less than these, we advise you upgrade.

Cheers,

Nick


author: Fabio Racobaldo _Herzum_
body: Hello Didier,

you should upgrade your Fisheye/Crucible to one of these version 3.0.4, 3.1.7, 3.2.5, 3.3.4, 3.4.4.

Here the documentation you need for the upgrade guide [](https://confluence.atlassian.com/display/FISHEYE/FishEye+upgrade+guide)<https://confluence.atlassian.com/display/FISHEYE/FishEye+upgrade+guide>

Hope this helps,

Fabio

<br />


Tags: fisheye-crucible-administration

vulnerability
Fisheye and Crucible : Managed new file extensions
Asked by S?bastien Maisonneuve:

Hi all,

In my project I have files with the extension .xlf. This type of files is not recognized by Fisheye and Crucible so it allows us to download the file but not to compare them. These files are like xml files so I want to associate this extension XLF to the text or xml viewer.

How can I do that?

Regards,

S?bastien


Answers:
author: S?bastien Maisonneuve
body: Any others suggestions for that point?


author: S?bastien Maisonneuve
body: Hi,

We are using SVN version 1.6.11 and Fisheye (and Crucible) version 3.1.4.

I have update the file raw-mime.types in my Fisheye home.

I see the download revision in a review containing a .xlf file and also when i look dirrectly to this file in Fisheye.

Regards,

Sebastien


author: S?bastien Maisonneuve
body: I've try that but without success :(

comments: author: Piotr Swiecicki
body: Weird, it works perfectly fine on my machine. Can you give me more details please - type of SCM you are using (SVN, git, anything else?), actual file name, URL of the page you expect to see textual diff but see download link only, screenshot perhaps?  
Kind regards,


author: Piotr Swiecicki
body: Hi S?bastien,

Try editing your `FISHEYE_INST/raw-mime.types` file and add xlf extension to text/xml, e.g.

```
text/xml			xml xsl xlf
```

You may need to restart FishEye after making a change.

Kind regards,


Tags: fisheye-crucible-administration
Crucible - mark defect as fixed
Asked by abby shen:

We are currently evaluating the Crucible for code review. This feature is really critial to us. Is there a plan to have this feature? If not, we may need to consider other code review software.

1. Author/Reviewer can mark defect as fixed.

2. Can jump to the next defect (instead of next comment).

3. Can view the fixed defects list.


Answers:
author: Thomas Waldecker
body: This is now possible in Crucible 4.2:

<https://confluence.atlassian.com/crucible/crucible-4-2-release-notes-847744868.html>
adding several repositories to one Project in Crucible
Asked by Viachaslau:

Hi all,  

Can I add several repositories to one Project in Crucible using Crucible along(without Fisheye license)?   
While using Crucible without Fisheye there is no tab "Fisheye content" on project page.

This is ASAP. Please, advise


Answers:
author: PeterKoczan
body: Please see the workaround section of the following improvement request: <https://jira.atlassian.com/browse/CRUC-6772>


Tags: crucible-without-fisheye

fisheye-crucible-administration
add repo on windows 8
Asked by Sergey Ivanov:

Hello, how can I fix the problem (for generated key too) on windows 8:

Error testing connection.  
Error talking to repository:   

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @   
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
Permissions 0644 for 'key' are too open.   
It is recommended that your private key files are NOT accessible by others.   
This private key will be ignored.   
bad permissions: ignore key: key  
Permission denied (publickey).   
fatal: Could not read from remote repository.  

Please make sure you have the correct access rights  
and the repository exists.  

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:148)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:441)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:682)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Connection failed.


Answers:
author: lpater
body: Hi Sergey,

What version of FishEye are you using? There was a change in 3.3.1 that might be related - [](https://jira.atlassian.com/browse/FE-5084.)<https://jira.atlassian.com/browse/FE-5084>(and [](https://jira.atlassian.com/browse/FE-4984)<https://jira.atlassian.com/browse/FE-4984>).

Before 3.3.1 we tried to set permissions on the key files. As it only worked in some cases, and there is no reliable api to do that on Windows we stopped trying to do that, relying on the administrator to set up the permissions for the FISHEYE_INST directory appropriately.

The error you're getting seems to come from your ssh client expecting the permissions for the keys to be more restrictive. Please check the permissions using cygwins ls command, and make sure they haven't been changed by FishEye if you're using a version before 3.3.1.

You can't define your own key names for generated ssh keys - any reason you would need that?


author: FelipeA
body: Hi Sergey,

Do you have cygwin installed on your Windows 8 machine? Basically you have to locate this 'key' file and change it's permissions to one that allows only you to access it.

```
chmod 0600 /foo/bar/key
```

The above command should do the trick.

Best regards,

Felipe Alencastro

comments: author: Sergey Ivanov
body: I have cygwin; I have tried, but it did not help.

And why when I click 'Test connection', seems, fisheye reload key under other generated name? And if I use 'Generate key pair for ssh', how can i define name of generated private key?

Commands continue to return with the exception 'Unable to clone remote repo..':

git clone --bare -v ssh://git@github.com:myrepo.git clone

git clone --bare -v git@github.com:myrepo.git clone


Tags: file

fisheye-crucible-administration

key

ssh
Crucible Recent Activity Feed to show all users
Asked by Darly Senecal-Baptiste:

Hi Community

I recently upgraded Fisheye/Crucible to version 3.4.

I have a problem, when I acess to the Crucible dashboard I just can see my activities instead of everyone. I want to know on how to set up in terms that me and other users are able to see all crucible activities at hte Recent Activity Board

Thanks


Answers:
author: Piotr Swiecicki
body: Hi Darly,

Just star the projects you are interested in so your dashboard (if switched to All or Reviews mode) would start showing all reviews for that projects. See

![](https://monosnap.com/image/MKMsrvNAiHHjPp11rpNiQywCwcMKOq.png)

To star a project just go to project list (Projects menu item, All Projects)

Hope that helps,  
Piotr

comments: author: Darly Senecal-Baptiste
body: Hi Piotr:

And so every user has to do that was well, right?


author: Piotr Swiecicki
body: Yes, this way people can chose which information is shown on their dashboard and only see information that is relevant for them.


Tags: activity

fisheye-crucible-administration
Can I automatically transition a JIRA issue when a Crucible review is closed?
Asked by rossmurphy:

We are using JIRA, Fisheye + Crucible.

We currently prevent transitions within JIRA using conditions on code reviews. We would however like to remove a manual step and have JIRa issues automatically transition from 'needs review' to 'resolved' when the Crucible review is completed.

Does anyone know if this is currently possible?


Answers:
author: Bhushan Nagaraj
body: Hey Ross,

Take a look at this.

[](https://confluence.atlassian.com/display/CRUCIBLE/Transitioning+JIRA+issues#TransitioningJIRAissues-TransitioningalinkedJIRAissuewhenclosingthereview)<https://confluence.atlassian.com/display/CRUCIBLE/Transitioning+JIRA+issues#TransitioningJIRAissues-TransitioningalinkedJIRAissuewhenclosingthereview>

Cheers

Bhushan


Tags: fisheye-crucible-administration