youngmon/atlassian-qna huggingface dataset:
Create a subtask from Crucible review
Asked by Micha? Wieczorek:

Hi,

I have parent issue with many subtasks. I make a commit with one of the subtasks ID in the commit message.

Then I create a review - review is linked with that subtask.

When I'm making a review I want to create issue from the comment, but not another 'parent issue' but additional subtask.

Is it possible to create subtask which will have the same parent issue?

Do you know is there any feature request for this?


Answers:
author: Micha? Wieczorek
body: So: It's not possible to accomplish that.

New Feature Request was made: [](https://jira.atlassian.com/browse/CRUC-6798)<https://jira.atlassian.com/browse/CRUC-6798>


author: Nick
body: ![](../../upfiles/sub-task_2014-04-08_13-24-38.jpg)

Yes.

You can create a sub-task from a Crucible comment, for the issue which is linked to your review.

If you mention the original parent issue in the Review Title, or link it directly via the "Link Review" button, then it will be possible to do what you want.

From a comment in Crucible, you can then simply hit the 'create issue' button, and then select the 'sub-task' issue type, and you'll have a sub-task created from that comment.

comments: author: Micha? Wieczorek
body: Hi Nick,

Thank you for the answer.
> You can create a sub-task from a Crucible comment, for the issue which is linked to your review.

But as I wrote: review is linked to the subtask not the parent issue.

So there's no way to do it? (I don't want to manually change linked issue to the parent)


author: Nick
body: You must mention have the parent issue linked somehow to the review.

Either directly via the native issue linking in Crucible, or implicitely by putting it in the review title.

Once you do that, you'll be able to create a sub-task of that issue from a comment.


author: Micha? Wieczorek
body: Ok, I'm closing this question (even though solution is not exactly what I wanted)


author: Micha? Wieczorek
body: My review is linked to the subtask via native issue linking. I put parent issue id in review title.

But I still cannot create subtask from comment.
How To Create A Review For A Feature Branch In SVN
Asked by Lee Theobald:

I've created a branch from trunk to work on a new feature. I've done some work \& made various commits. I now want to get a review of what I've changed. But I can't for the live of me figure out how to do it!

I've seen in other answers that Atlassian decided not to let you select a branch \& use that to generate a review. You have to select individual changes for example. But even that way, I don't get what I'd expect.

So for example, I've attempted to create my review by doing the following to add content:

1. Filter changeset showing my branch name. This will show me say 5 changes
2. I add each of these to the review. The very first one is the change where I created my branch from copying my code from trunk into a branch. The rest will be various code changes
3. Hitting done \& seeing what's there.

What I will have in my review at this point is all the code I have created/changed in my review. But in the relevant files, it won't show the lines changed from trunk.

Is there a step I'm missing? Cheers for any input.


Answers:
author: Merlijn Duynstee
body: Have you tried selecting the "Diffs to last branch point..." option from "Add to Review as:" By default this is set to Diffs, only showing the diff relative to previous commit.
In Fisheye, can I see commits on a repo filtered by user(s) or usergroup?
Asked by Tedd Terry:

Hello!

I'm getting acquainted with Fisheye and couldn't find a way to do the following:

1. Open a repository view.  
2. Filter the commit list by some usergroup.

We have a few teams working out of the same general repo and it would be useful for one group to quickly filter out the noise from other projects and see what's most pertinent for them.

Is this possible within Fisheye, or is it generally recommended that this type of operation is managed through the activity stream in Jira?


Answers:
author: gustavo_refosco
body: Hi Tedd,

Currently you can filter the activity by one committer at a time in the Activity Stream through the button "Filter commits". In order to check further information about this, please take a look at the [Viewing the Changelog](https://confluence.atlassian.com/display/FISHEYE/Viewing+the+changelog) document.

I think that maybe the FishEye search might also help you finding what you want, as there you are able to filter by more than one committer. Please take a look at [Searching FishEye](https://confluence.atlassian.com/display/FISHEYE/Searching+FishEye) to have more information about the search feature.

Either way, there is already an improvement request at Atlassian's issue tracker requesting the possibility of filtering the activity by groups of users that you can check at [](https://jira.atlassian.com/browse/FE-5037)<https://jira.atlassian.com/browse/FE-5037>  

I would suggest adding any comments to the issue above as well as \[voting\|https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue\] on the 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>

comments: author: Tedd Terry
body: Thanks, Gustavo! It would be very useful for managers to constrain information on a group of people, especially since we have multiple teams and they each commit to multiple repos. Since we already have the teams set up as usergroups in Jira and Fisheye is synchronizing those usergroups, it would be nice to reference those groups when reviewing the total commits of a given project.
How do I quickly remove myself from reviews?
Asked by Brian Kendig:

I work on a large project and I get added to dozens of code reviews each day, so my Crucible inbox is huge and unmanageable. Some of these I will review, but others I don't care about - I want a quick/easy way to remove myself from them. Either a "Remove" button on the review, or some sort of batch remove button on my inbox.

Is there a way to do this in Crucible 3.3.2? If not, how do I request this feature?


Answers:
author: Piotr Swiecicki
body: Hi Brian

You need to edit review details and remove yourself from review. Whether reviewer can do it or not depends on the permission scheme used, you can modify this in the admin panel.

Once this permission is granted to Reviewer role (or individual user) reviewers can click Edit Details button on review and remove theirself from the review.

Hope that helps,  
Piotr

comments: author: Brian Kendig
body: Piotr,

Thank you. That works, but it's somewhat tedious when doing it for dozens of reviews. How do I go about requesting a "Remove Me" link on a review's "Tools" menu?


author: Brian Kendig
body: Much appreciated; I'll ask there.

I would agree with you, but the reviews are listed in a place called the "Inbox", and since they're using an email paradigm then I think it would make sense to have a quick way to remove items from one's inbox.


author: Piotr Swiecicki
body: Hi Brian,

You would need to raise a feature request in this project: [](https://jira.atlassian.com/browse/CRUC/)<https://jira.atlassian.com/browse/CRUC/>

But personally I am rather thinking this should be done through edit details screen anyway. Once someone requested you to review him/her code you shouldn't perhaps simply reject that, but instead add someone else when removing yourself. Although technically this what "Remove Me" dialog could prompt the user to do when removing himself/herself.

Kind regards,  
Piotr
FishEye / Crucible on demand
Asked by Jeff Storey:

Are FishEye and Crucible offered as OnDemand services? I couldn't find information that gave me a definitive answer on that.


Answers:
author: Conor
body: FishEye and Crucible were EOL'd, in OnDemand some time back. There is a FAQ, which covers most aspects behind that change here: [](https://go-dvcs.atlassian.com/display/EOL/FAQ)<https://go-dvcs.atlassian.com/display/EOL/FAQ>  

comments: author: Jeff Storey
body: Thank you for the link.


author: DoD Support
body: This link now directs to <https://www.atlassian.com/git/> and does not answer this question


author: Conor
body: Yes, the link is now out of date since some time has passed since the products were EOL'd in OnDemand

The definitive answer is that FishEye and Crucible are not available in OnDemand


author: Piotr Swiecicki
body: No I'm afraid you need to install them on your infrastructure. You may want to consider <https://bitbucket.org/> offer if you are looking for a cloud solution, perhaps?
Do I need to buy a license for fish eye if i use only Crucible Code Review tool ?
Asked by Rinat Sharipov:

HI,

Could you help me with the following question:

If we would like to use Crucible, we must buy licences only for Crucible, or Fish Eye to ?

We are creating only codereview task.


Answers:
author: Svante Gustafsson Bj?rkegren
body: Hi Rinat,

No, you can use Crucible standalone. But you will loose a lot of neat features. See [](https://confluence.atlassian.com/display/CRUCIBLE/What+happens+if+I+decide+to+stop+using+FishEye+with+Crucible)<https://confluence.atlassian.com/display/CRUCIBLE/What+happens+if+I+decide+to+stop+using+FishEye+with+Crucible>what functionality you miss.

Some more info: <https://confluence.atlassian.com/pages/viewpage.action?pageId=298977362>

Cheers,

// Svante


author: Andris Grinbergs
body: Yes, it seams you need Fisheye license for same tier.


Tags: licence
Is it possible to link multiple Fish-eye instance with one JIRA instance ?
Asked by abhishek mittal:

We plan to have multiple Globally distributed SVN repositories and co-located Fisheye instances for indexing. Is it feasible to link all of these Fisheye instance with one Central JIRA instance. For each individual project however we would like to enforce a single repository linking. Please suggest.


Answers:
author: lpater
body: Hi Abhishek,

it's definitely possible to linku multiple FishEye instances to a single JIRA instance. Just create your JIRA-FishEye application links as in a single instance configuration.

You shouldn't need to explicitly link repositories with JIRA projects - as long as the project keys are unique, the right commits from the right instance should be found automatically.


author: abhishek mittal
body: Thanks Lukasz..


Tags: fisheye-crucible-administration
Running fisheyectl.sh has license error
Asked by Gary Schlachter:

When running fisheyectl.sh on Linux, I get the following:

<br />

INFO - Using log4j configuration file: /opt/fecru-3.2.4/log4j-client.xml

<br />

INFO - FishEye SVN Symbolic Rules Verifier

<br />

INFO - FishEye arguments: \[aml\]

<br />

INFO - loading config from file: /opt/instance/config.xml

<br />

ERROR - Could not find a FishEye or Crucible license.

<br />

I have a valid license.


Answers:
author: gustavo_refosco
body: Hi Gary,

You can confirm whether you have or not a license by checking it in your **config.xml** located at **/opt/instance**

You can check for it under the tag **\<license\>** which keeps both tags for FishEye and Crucible licenses as **\<fisheye\>** and **\<crucible\>** . In case your licenses are not there, you can insert them manually by taking them at [](https://my.atlassian.com)<https://my.atlassian.com>and pasting them inside the respective tags. For instance, a FishEye license will be like:

```
&lt;fisheye&gt;AAAA/A0AlknaoHH88tqwzAQRff6CkHXKvKzrUGL1HKpwY+SuHSTzUSdNIJENZJs6r+v06QplCwGhplz71zm5g3faas85SENkizBBBBFEJDplde/1pxFP2u2KCdcZLUbYD3AcktziTyPBozhKWMBZxMkfIrwdkGrTxaMAoLL56baezSTibBCx8IK39AKPdyWbh9+CcBkNWaEe0pRSP4V3L7mWVs1g2zyzp0iVZFY2Yi1URT9J0TlJphcbhjFelvLa5fvs38Bnqph4bOKDI27oulnm5qC5IMxw2dsai987ALEKJNlkVDhz+f8o3W8ZzGTAtAhUAjpMcj7wUEiR2Xxs4G2GHsg+VbacCFBhHzm9oXuZJbbaABQ/yIQhye95ZX02d1&lt;/fisheye&gt;
```

Notice that, when inserting this manually directly in the config.xml, if the license contains the characters **\<** or **\>** you need to replace them by, respectively, **\&lt;** and **\&gt;**
Symbolir Rules and Commit Graphs
Asked by Tim Davis:

We have a slightly custom SVN repository structure for FishEye to index with the following organisation:

trunk/  
branches/dev/BRANCH_NAME  
branches/rel/BRANCH_NAME  
tags/dev/TAG_NAME  
tags/rel/TAG_NAME

We've got the "Symbolic Rules" setup so that FishEye can interpret version realtionships correctly.

However, it seems that the "Commit Graph" does not use this (or I am doing something wrong), because it's swimlanes ust show "rel" and "dev" etc., not the TAG_NAME or BRANCH_NAME that we'd like.

If this possible, has anyone cracked this?

This isn't a show stopper, we might just have to get rid of the "rel" and "dev" sub folders

Thanks in advance for any help of suggestions


Answers:
author: Tim Davis
body: I've carried on trying a few more permutations of settings but, it seems like the Commit Graph does not use the Symbolic Rules defined to locate the tags and branches locations.

Easiest solution is not to use sub-folders

Thanks for your input. I'll close this question now


author: Conor
body: What is your symbolic rules setup? Do you have the built-in rules checked?

It is possible that the auto rules are recognizing the branches/dev/BRANCH_NAME paths are operations in a branch called "dev". Unchecking that should let your custom rules work.


author: Tim Davis
body: Hi Conor, thanks for you reply.

I've tried unchecking the "Use Built-In" but does not seem to resolve the problem. The setup is as follows:

Use Built-In Symbolic Rules: unchecked  
Custom  
trunk(/\|$) trunk \<blank\>  
branches/(\[\^/\]+)/(\[\^/\]+) ${2} ${2}  
tags/(\[\^/\]+)/(\[\^/\]+) ${2} ${2}

Folder structure looks like:

branches/  
dev/proj001/  
rel/REL1.0/  
tags/  
dev/  
rel/REL1.0.1  
trunk

And the Commit Graph is identifies the following branches

trunk  
tag  
rel  
root ... Not the proj001 or REL1.0 etc.

I suspect that Commit Graph probably doesn't obey the custom rules. Just be good to confirm before I 'give up' on this and resturcture the SVN repository.

Any ideas are very welcome

Regards
Integrate Fisheye into Jira
Asked by Devender Verma:

I'm using evaluation version of FishEye and trying to integrate it to Jira onDemand. While adding Application link for Fisheye in Jira, it's asking for Consumer Key, Consumer Name and Public key for Fisheye.

Could you please tell me from where I can get these information (Consumer Key, Consumer Name and Public key) ?

--Devender


Answers:
author: Devender Verma
body: I made configuration changes to run Fisheye on port 80 rahter than port 8060 and restarted fisheye server application. Then deleted old application links and recreated to connect fisheye on port 80. It worked and application links added successfully on both sides - Jira and fisheye.

Thanks for responding to my question!

Devender


author: Norman Abramovitz
body: I believe these are your authentication keys, so you can establish your application links.

[](https://confluence.atlassian.com/display/JIRA/Allowing+OAuth+Access)<https://confluence.atlassian.com/display/JIRA/Allowing+OAuth+Access>

[](https://confluence.atlassian.com/display/AOD/Integrating+JIRA+OnDemand+with+FishEye)<https://confluence.atlassian.com/display/AOD/Integrating+JIRA+OnDemand+with+FishEye>
howto change fisheye database name ?
Asked by Martin:

Hi !

I run and administer fisheye 2.10.1. My predecessor set the database to 'fisheye_2101' ...

I am not sure it is a good thing to include version in current active database name... as database schema is going to be upgraded when fisheye gets updated so the name isn't going to reflect the schema version anymore. So before trying and upgrade, I want to revert back to more common name like 'fisheye'. Here is what I did so far:

- stopping fisheye

- copy fisheye_2101 to fisheye (using phpmyadmin)

- Now what ? Do I have to edit config.xml to change to the new database name and start fisheye ? I didn't find anything in the documentation about that.

I tried to change the database reference from the UI but can't save the settings (I can only hit "save and migrate").

Thanks !


Answers:
author: Sven [Dione Technology]
body: Hi Martin,

I suppose you are using Mysql (Phpmyadmin).

I think the best is to rename directly your DB and change your fisheye config file.

[](http://dev.mysql.com/doc/refman/5.1/en/rename-database.html)<http://dev.mysql.com/doc/refman/5.1/en/rename-database.html>

1- stop fisheye

2- rename your db

3- change the reference to the new name in server.xml

4- start fisheye

Sven.

comments: author: Martin
body: Hi ! I'm using Mysql (I specified it in query meta words but I shoud have mentionned it in the text).


author: Sven [Dione Technology]
body: Did you edit your server.xml to point on your new DB name ? (or ROOT.xml)

N'h?sites pas ? me contacter !


author: Martin
body: Thank you. I have succeeded with the steps you provided, but I haven't used "RENAME" MySQL statement as warned in [](http://dev.mysql.com/doc/refman/5.1/en/rename-database.html)<http://dev.mysql.com/doc/refman/5.1/en/rename-database.html>(I am using an earlier version of MySQL)

I did a copy of the database instead !


author: Martin
body: yes, I have updated the file **config.xml** to the new database name !


Tags: database

mysql
Code review before checking in
Asked by Rahul Aich [Nagra]:

My organisation are using Fisheye/Crucible for code review. However I think it has a serious failing in that code review is always done AFTER check-in. So code review is something done after potentially bad code has been checked in.

Is there any way we can configure fisheye/crucible so that code is only checked in to Our version control tool i.e. Perforce after it has been through review?

Rahul


Answers:
author: Piotr Swiecicki
body: Hi Rahul,

The model you described is indeed more often used as most customers find it easier to have the proposed changes checked in on a dedicated feature branch, have it reviewed and merged to default only when the review was approved.

But Crucible allows to do pre commit reviews too. See [](https://www.atlassian.com/software/crucible/overview/code-review-pre-commit)<https://www.atlassian.com/software/crucible/overview/code-review-pre-commit>and [](https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews)<https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews>for more details. Basically it requires code author to create a patch and add this to review. Note this can be easily done with a command line tool prepared for this purpose, see [](https://confluence.atlassian.com/display/CRUCIBLE/Creating+reviews+from+the+command+line.)<https://confluence.atlassian.com/display/CRUCIBLE/Creating+reviews+from+the+command+line>.

Hope that helps,  
Piotr

comments: author: Rahul Aich [Nagra]
body: Thanks Piotr
How to Restrict Moderator to Close the review with out closing by other Reviewer
Asked by Ramesh Muthu:

Hi,

I would want to set the validation for Crucible project like below, Please advise me how to do this setup.

I want to restrict the Moderator to close the review, If any reviewer did not completed his review

Thanks,

Ramesh Muthuraj.


Answers:
author: Ramesh Muthu
body: thanks for your reply

Requirement is below

Steps for Fisheye ticket closure issue:   
1. Developer commited code with java, sql and UI changes.  
2. Developer created Fisheye request and added reviewer as Java lead, DBA lead and UI lead engineer for review this single Fisheye ticket.  
3. Most of the time Java lead reviewed 100% and closed this ticket before review DBA or UI changes for corresponding team lead.

We are expecting to review all the team before closing the ticket. Current functionality says other reviewer not completed, when we tried to close the ticket. but it is warning message, so any one of the reviewer reviewed 100% and closed the fisheye ticket.

i got reply from atlassion team and saying that need to write plugin for this


author: gustavo_refosco
body: Hi Ramesh,

You can define this by setting it in the Permission Scheme associated with your project.

Every project has a Permission Scheme associated. You can check what Permission Scheme in being used by your project at **Administration \>\> Projects \>\> Edit Crucible Settings (of your project) \>\> Permission Scheme**.

Please take a look at the [Permission Schemes](https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+permission+scheme#Creatingapermissionscheme-Editingapermissionscheme) document, in **Editing a permission scheme** for further details on how to set the desired permissions.


Tags: fisheye-crucible-administration
Crucible failing to index even 1 SVN revision
Asked by Craig McGuff:

I have a crucible instance running over a single SVN repo. It has historically worked, recently it has started failing to index. I have tried reducing the number of revisions to even the single most recent entry and it is failing to index. It scans all revisions easily, but sticks at the start of the idex process.

I have tried index, full reindex, manually deleting the whole index and I get the same issues. It appears to just get stuck and eventually Java just uses all the memory on the box until no-one can get in at all.


Answers:
author: Nick
body: Which changeset is it getting stuck on ?

Can you please have a look at that changeset, and see if it involves many many paths ? How many ?

Definitely consider:

1. increasing the JVM heap as suggested by Eddie Webb above
2. setting a start revision in the repo settings, to be one higher than the problem revision.
   1. this will mean earlier history will not be indexed, searchable, etc

Also be aware that we are fixing such issues with FishEye all the time, and the most recent version of FishEye/Crucible 3.3.2 should be used. 3.4.0 coming out in mid-April will also contain improvements in the area of indexing extremely large changesets.

Further, you could send the java process a SIGQUIT (kill -3) to get a couple of heap dumps and see what is happening prior to the OOME.

Also, you could capture a MemoryDump on OOME, and try and get that to us for investigation.


author: EddieW
body: I would look at your heap size and object allocation using an APM tool or heap analyzer.

Do the logs indicate any errors before it crashes?

<br />

It may be a big revision is causing a number of objects to force excessive Garbage Collection. You can try increasing heap, but I would only suggest that if you see memory issues.


Tags: fisheye-crucible-administration
Is there an advantage to adding git repositories to crucible which are not code reviewed?
Asked by jcurleyWR:

We have several projects with several git repositories each. Most of those projects are in stash, but some are using plain git on another server. Some of those repos do not have source code, so their contents are not reviewed. Is there an advantage to adding all repos of a project into crucible?

The reason I ask is that we have some performance issues with larger repos, taking up to 20 minutes to sync. Therefore, we are planning to disable and/or remove the repos that are not part of the code review process. We presume removing the extraneous repos would free up some bandwidth, memory and cpu.

Additional info: We also use Jira to manage bug reports.

Thank you.


Answers:
author: Mehmet Kazgan
body: From my experience, that would not help much. But there are couple things you can do, if you have not already:

1. Scaling Stash for Cont. Int. Performance

[](https://confluence.atlassian.com/display/STASH/Scaling+Stash+for+Continuous+Integration+performance)<https://confluence.atlassian.com/display/STASH/Scaling+Stash+for+Continuous+Integration+performance>

2. From Atlassian page above: Stash limits the number of Git operations that can be executed concurrently, to prevent the performance for all clients dropping below acceptable levels. These limits can be adjusted

<https://confluence.atlassian.com/display/STASH/Stash+config+properties#Stashconfigproperties-throttling>

comments: author: jcurleyWR
body: Thank you for the suggestions.


Tags: fisheye-crucible-administration