youngmon/atlassian-qna huggingface dataset:
Recalculate totals in Crucible
Asked by Ivan Demkovitch:

I had one review stuck and deleted it manually as per this instructions: <http://confluence.atlassian.com/display/FISHKB/Deleting+hung+reviews+manually>

It worked, but I see this review in a list and not sure if it will re-calc later or I need to do something


Answers:
author: Conor
body: You should reindex your reviews. To reindex your crucible reviews, please navigate to the Global Settings-\>Crucible section of the Admin UI and click the reindex button. Review reindexes are generally fairly fast.

I suggest also upgrading to 2.7.13. We have fixed a bug in this area in 2.7.13

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

Whilst that is not exactly the same as your situation, I think it wuld be wise to be on the latest version.
Question regarding FishEye log file
Asked by Daisuke Niwa:

Hello there,

Just a quick question. Anyone knows when

\<fisheye_install_folder\>/logs/support/\*.log

files are created? What operations are logged in these files? Please advise.

Regards,

Daisuke Niwa


Answers:
author: rverschoor
body: These files are created when you create a Support Zip.  
The Support Zip contains the config.xml, log files, and some other configuration information.  
The log files in the Support Zip are the same files that are stored in the var/log/ directory.  
Basically the Support Zip just gathers existing files from your installation and packs them up, it doesn't perform any new actions.
Trouble starting fisheye
Asked by James Mullen:

I wanted to test running Fisheye on a new server. So I installed version 2.6.6 onto a Linux box by unzipping the zip file and ran the bin/run.sh file as root. However, I get the following error message and Fisheye does not appear to be running:

ERROR - Could not create control server: Invalid argument

I'm using the default config.xml that came with Fisheye.

Please advise what could be causing this issue and how to correct it.


Answers:
author: rverschoor
body: This error is probably caused by a network setting in your Linux.  
Please have a look at [this knowledgebase article](http://confluence.atlassian.com/pages/viewpage.action?pageId=214863647).

Run "sysctl net.ipv6.bindv6only" to check its setting.  
If it is set to "net.ipv6.bindv6only = 1", turn it off by running "sysctl -w net.ipv6.bindv6only = 0".

If this doesn't work, try to set it by JVM parameters.  
Add "-Djava.net.preferIPv4Stack=true" into FISHEYE_OPTS.

<br />
Does the depot path allow for normal Perforce generics like * and ...?
Asked by Bob Swift (personal):

This question was asked in 2007 and answered in the negative in 2010 by Mark Mickaelis - see <http://confluence.atlassian.com/display/FISHEYE/Perforce?focusedCommentId=218277724#comment-218277724>

Any new information on this? Again, it would be nice if the product screen or documentation would say something about this at least. It is a natural request from Perforce admins.


Answers:
author: rverschoor
body: No change here, the Perforce wildcards are not supported.  
I've added a note to the [documentation page](http://confluence.atlassian.com/display/FISHEYE/Perforce).
Crucicble Report Showing Diffs and Comments/Defects
Asked by John Werner:

We are trying to produce a "formal" record of our code reviews in Crucible. What is currently being asked for is a "report" that shows the differences between two revisions of a file along with all of the comments/defects that have been logged in it. It should basically be what is shown in the right hand window when doing a review. I tried just printing from the web browser (Google Chrome) to a PDF, but since the code and comments are displayed in a frame like thing, all I got was exactly the page I saw with a scroll bar.


Answers:
author: John Werner
body: [This answer](../46987/crucible-workflow/47362 "This answer") provided a link to some source code that has inspired me to write my own reporting tool. It's really not that hard once you decide to do it.
Auto create a Review from Perforce
Asked by Marek Gimza:

Is the following possible, or is there aplugin that already supports this process?

1. The user checks out some files into a Pending changelist in Perforce.

2. The user then selects a Perforce custom tool to start a review on the Affected files in the Pending changelist.

3. The tool sends a request to Crucible to create a Review and automatically add the Affected files in the Pending changelist to the Review.

4. The tool will then send a request to the crucible server to add a list of reviewers to the review. The reviewers will be a comma seperated list of usernames.

The reviewers will be automatically added to the newly created review.

The request in step 4, could be part of the same request to the crucible server as in step 3.


Answers:
author: Marek Gimza
body: Thanks for the reply Cameron.

This idea though unfortunately is not adequate as :

1. P4 triggers only work on the server and not the client

2. The checked out files that contain the changes for review are only in the local workspace to which the server has no knowledge.

To use this strategy developers would have to use the 'p4 shelve' feature which is not part of our Dev Process!

Thanks :)


author: Marek Gimza
body: There is the REST API that provides the support to send the appropriate requests to the server.

It is documented under the Atlassian Developer section under the REST API Guilde:

<https://developer.atlassian.com/display/FECRUDEV/FishEye+and+Crucible+Developer+Documentation>

...

Marek G


author: Cameron Ferguson
body: You could also use the Atlassian Command Line Interface with your python triggers in perforce to create the review.
JIRA crucible integration not working / JIRA Fisheye integration does work
Asked by l:

In JIRA looking at the source tab, I can see code reviews that have been done as seen in attachment1. The reviews tab is empty. What am I missing in my configuration ? Fisheye seems to be working fine and crucible is not.


Answers:
author: JamieA
body: Have you created an applink for the crucible project, in addition to the fisheye repo?
Multiple JIRA projects, one svn repository and commit messages
Asked by Chet Burgess:

We have a number of projects in our OnDemand setup that all need to reference the same svn repository. The repository in question is owned by one of the projects. The other projects are configured to have their "Subversion Repository", "FishEye Repository", and "Crucible Review" pointed at the master projects .

Everything seems to be working except for linking to JIRA issues in SVN commits. If I make a commit and reference a JIRA issue in the master project results in the JIRA issue being updated with the commit message. Howeve referenceing a JIRA issue in another project doesn't result in an update to the JIRA issue.

Is it possible to setup multiple projects to point to same svn repository? If so how?


Answers:
author: Abdulrazaq Mohammed Ali Omar
body: Not sure if you found your answer yet, but you can do that, it's explained here:

- <https://confluence.atlassian.com/pages/viewpage.action?pageId=298976411>

Hope it helps, even after so long :)

comments: author: BenjaminWolfe
body: Page not found. :-/


author: Renjith Pillai
body: I am assuming that you following the instructions here for associating the Fisheye and Jira projects (even though I am not sure for OnDemand whether this is the same procedure).

<http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+FishEye#IntegratingJIRAwithFishEye-Step4LinkFishEyeRepositoriestoJIRAProjects>


Tags: cloud

integration
JIRA crucible integration not working / JIRA Fisheye integration does work
Asked by l:

In JIRA looking at the source tab, I can see code reviews that have been done as seen in attachment1. The reviews tab is empty. What am I missing in my configuration ? Fisheye seems to be working fine and crucible is not.


Answers:
author: LeonardoL
body: Hi Craig,

Maybe you forgot to enable the Crucible integration. You can take a look at step #2 of documentation below to double check. There you find an explanation about how to enable Crucible integration:

<https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+FishEye>

I hope yhis helps you.

Cheers,

Leonardo


author: Azwandi Mohd Aris
body: Usually, a review will appear in a JIRA issue if you have the issue key in the review title. Check your JIRA FishEye Plugin configuration, in regards to search review method. You might want to adjust that setting and see how it goes.
Where does Crucible store attached files?
Asked by Brent Villalobos:

I'm trying to determine our storage needs for Crucible. When someone uploads a file to a code review, where is it stored? I'm searching the /crucible directory on server for files that I know people uploaded to CR tickets, but I'm not finding anything. I just don't know the underlying Crucible configuration to know what to look for.


Answers:
author: rverschoor
body: Those files are stored in var/data/uploads/.  
They will not be stored with their original filename, maybe that's why you couldn't find them.
Autodeploy - FTP
Asked by Krzysztof Rogalski:

Is there any possibility to perform autodeploy of code to FTP server? When I did commit to SVN server I would like to have auto copy of last changes to the FTP server.

Chris


Answers:
author: LucasA
body: This is not possible since you do not have shell access to your instance and instances cannot access external resources.

Cheers,

Lucas Lima

Atlassian Support


Tags: cloud

fisheye-crucible-svn-ondemand
create svn mirror using stored encrypted password
Asked by Ian Young:

Our Subversion repository is hosted by Atlassian OnDemand but we'd like to create a mirror here at the office. I could easily create a cron job to svnsync it on a regular basis but that would require storing a password in plain text on the remote mirror. Is there a way to sync automatically using an encrypted password? Perhaps with an SSH public/private keypair?


Answers:
author: LucasA
body: Note that customers do not have SSH access to theyr instances, so if you want to store encrypted passwords, you have to find how from your side.


Tags: cloud

fisheye-crucible-svn-ondemand
Does Fisheye 2.7 work with PostgreSQL 9.1?
Asked by Jim d:

The "supported platforms" page only lists support of postgresql up to version 8.4. Will fisheye work with postgresql 9.1 (either in an officially supported context or otherwise)?


Answers:
author: Ramiro Pointis
body: Hi Jim, in case of the Fisheye 2.7 this is the documentation:

<http://confluence.atlassian.com/display/FISHEYE/Supported+Platforms>

It shows that it only works with Postgres versions 8.4 and lower.


Tags: postgres
Installing Fisheye having problems running as a service
Asked by Sam:

following the documentation here: <http://confluence.atlassian.com/display/FISHEYE/Run+FishEye+as+a+Windows+service>

I'm running Windows 2008 R2 x64, and I've installed the latest Fisheye and jre 7 (64bit). When I try to start the service, I receive the following:

Windows could not start the Fisheye service on Local Computer. Error 1067: The process terminated unexpectedly.

The same shows up in the windows event (application) log. There is no wrapper.log file.


Answers:
author: LeonardoL
body: Hi Tim,

I've seen this before and moving to JDK solved the problem. So maybe you could try once you don't really need to uninstall current java.

Cheers,

Leonardo.


Tags: install

service

windows
How do I change the scheduled backup path for Crucible/Fisheye?
Asked by Jim Jim:

The [docs](http://confluence.atlassian.com/display/CRUCIBLE/Backing+Up+and+Restoring+Crucible+Data#BackingUpandRestoringCrucibleData-SchedulingCrucibleBackups)indicate the config.xml file can be updated to change the default scheduled backup path, however there are no xml tags for \<backup\> currently in the config.xml file to change. I added my own xml code per [FE-2674](https://jira.atlassian.com/browse/FE-2674) but that didn't work. I suspect there is more information needed to get this to work, because the default path must exist somewhere, right?

I am using FisheyeCrucible 2.7.11 on Windows Server 2008 R2 64-bit.


Answers:
author: Renjith Pillai
body: A similar question here

[https://answers.atlassian.com/questions/49021/change-backup-path-in-fisheye](/questions/49021/change-backup-path-in-fisheye)
How to configure svn symbolic rules to use logical path
Asked by Ken Taylor:

1. Configure a subversion repository for a repository that includes the standard structure:  

tags/project-v1.0/  
common  
server  
client  
tags/project-v1.1/  
common  
server  
client  

2. Disable built-in symbolic rules and use custom symbolic rules that include:  

regex: \^tags/(\[\^/\]+)  
name: ${1}  
prefix: \<none\>  

3. Test the rule with the structure above:  

test path: tags/project-v1.0/common  
Container: tag:project-v1.0  
Logical Path: common  
Logical Tail: common  

4. Save  

5. Build index  

6. Browse repository in fisheye  

EXPECT: Top level directories are:  

client  
common  
server  

ACTUAL:  

tags/project-v1.0  
tags/project-v2.0  

NOTE:  

The example is just for tags but trunk and branches are similarly affected.


Answers:
author: Michael Heemskerk
body: Hi,

Your symbolic rules look fine to me, but I think there is a bit of confusion over what FishEye shows. When you browse a Subversion repository, FishEye shows the physical paths. Your symbolic rules are used to determine branch/tag memberships and logical paths. You can verify this by going to the revision list for a file and checking the path, branch and tag information associated with each of the revisions.

Cheers,

Michael

comments: author: Ken Taylor
body: While it was not what I expected to see, I do now find that it behaves as I expected. I can select trunk, drill down into trunk/common/Shared/.classpath, and switch to tag project-v1.0 to end up in tags/project-v1.0/common/Shared/.classpath, which is what I was after.

Thanks for providing me the confidence in my configuration to forge ahead :)


author: Ken Taylor
body: In case this is a problem, I have entered a support request also: [FSH-8924](https://support.atlassian.com/browse/FSH-8924)
Watchers in Crucible Reviews?
Asked by Brent Villalobos:

In our current code review workflow (which is email based), the author specifies a primary reviewer, but the entire development team receives an email about that code review. This puts a specific person on the hook for the review but everyone knows about it and can join in if they think they have something relevant to add to the review. However, it looks like the only people who receive a notification about the review are the people specified or invited as a reviewer or moderator.

Does Crucible support any type of watcher/observer role? Or is it possible to specify certain email addresses/groups to receive notifications when someone creates a new code review? I'm thinking of something similar to how someone can add watchers to a JIRA ticket. Any solutions?


Answers:
author: Renjith Pillai
body: Actually a very trivial one. Use your group email-id as a user in your Crucible user administration, and select that group while creating reviews. Automatically everyone will come to know about this.

Another option is to set the default reviewers as this group email id (provided every review of one project goes to the same group) so that while creating reviews there is no need to remember about adding this group name additionally.

comments: author: John Henckel
body: Unfortunately this work-around "wastes" one of your users. Our license only allow 10 developers, and it would be a pity to waste one of them just to get the "watcher" feeture. I guess I can just add the group email to the "invited" list, instead.


author: Brent Villalobos
body: Found a solution that works for me. I just specify the team's email list address in the "invited reviewers" section when creating the review. This way they get an email, but they aren't added as an official reviewer.

comments: author: Renjith Pillai
body: Yes, that is what I meant in my post. I guess you need to add that team-email as a user into Crucible, right?


author: Brent Villalobos
body: Not sure about whether the team email needs to be a user in Crucible. I just added the team's email address and it worked. But we're hooked up through LDAP so the team email address is probably already in the system.


author: Renjith Pillai
body: Oh, that's good to know.


Tags: email

review
FishEye URL does not open from client machines but opens from Server
Asked by Sandeep Nagaraja:

FishEye URL does not open from client machines but it opens and works fine on the server where we have installed Fisheye. Kindly assist us in resolving this issue.


Answers:
author: Sandeep Nagaraja
body: Thanks for the feedback ..

The problem was with DNS which was not resolving complete host name. I did "ipconfig /registerdns" which resolved the issue.


author: Jobin Kuruvilla [Adaptavist]
body: Maybe the http port is blocked outside? Try opening it up in iptables if you are on linux.

comments: author: Sandeep Nagaraja
body: Thanks for the feedback ..

The problem was with DNS which was not resolving complete host name. I did "ipconfig /flushdns" which resolved the issue.


Tags: windows
Fisheye+Git+EyeQL
Asked by Kevin Shallow:

I am attempting to get a list of revisions between two tags in a git repository. The EyeQL query I'm using follows:

```
select revisions where on branch "branchname" and between tags ("tag1","tag2"] order by date desc group by changeset return path, revision, author, date, csid, comment
```

Unfortuantly, I get no results. If I drop to the command line and issue a git diff command for the two tag names, i can see the differences. Is this a bug, or am I doing something wrong?


Answers:
author: Sergey Svishchev
body: Can you share this repository?


Tags: eyeql
How would I discard multiple, but not ALL hunks in a single file?
Asked by lauracastro:

For example I have file with 67 'hunks' and I only want to keep 3 of them to stage and commit. Do I need to click 'Discard Hunk' 64 times to do this or is there an easier way?


Answers:
author: John Damant
body: This might be too late but i just had the same issue with iOS storyboards, if you click the icon above "discard hunk" (circle with three dots and a down arrow) and choose external diff then when your diff opens select all ctrl-a/cmd-a and using the selection drop down on the bottom right choose ALL from your remote repo, then go back through and choose YOURS on the 3 you want to keep, save and close and the diff is updated. Hopefully this helps someone

comments: author: John Damant
body: I found an even easier way to do it. Click any line you want to commit (you can click and drag to select multiple lines) then right click and choose "Stage selected lines"
SourceTree security dialog prompt missing fields
Asked by Peter Kernebone:

I'm having trouble with the login security dialog not giving me anywhere to enter my password when I try to push to our local server. See attached image. I have personally just been pushing with command line, but this has now started happening on a few other computers on our network where SourceTree and git have recently been installed.

We use a local BitBucket server installation. Client git version is 2.24.0.windows.2. Client Microsoft GCM version 1.20.0

Any clues on how to restore the missing fields and button?

![SecurityDialog.jpg](/t5/image/serverpage/image-id/81590iF1545F500130D187/image-size/large?v=v2&px=999 "SecurityDialog.jpg")


Answers:
author: Peter Kernebone
body: FYI, we gave up on SourceTree. It just didn't work reliably - trouble with authentication (randomly on about 20 clients), would not keep settings, updates were odd, with different team members being offered very different updates on the same day. We have been using Git Extensions for about a year now, and it is great.
Users Being Asked to Login to Atlassian Repeatedly When Using Sourcetree
Asked by Chris Heitman:

Hi,

Several users are reporting whenever they try to clone a repository by clicking clone or try to Push and/or Pull once in a repository they are asked to login. When entering their credentials the popup goes away and comes back asking to log in again. This started happening after Friday 5pm (1/31).

I installed the latest version (3.3.6) of sourcetree on my laptop and I cannot replicate the issue. The users that are experiencing issues are also running the same version.

We use Jira and Bitbucket cloud. I had one of the users try cloning from withing Bitbucket and they get asked for their credentials there too.

Thanks,


Answers:
author: Luzius Meisser
body: It looks like we have the same issue:

<https://community.atlassian.com/t5/Sourcetree-questions/Prompted-for-login-again-and-again/qaq-p/1291225>
Sourcetree crashes on clone and checkout
Asked by Ian Rey Comisio:

I'm a beginner on Bitbucket and Sourcetree. I am trying to clone and check out a branch on Sourctree. However, Sourcetree crashes every time I try to clone or check out a branch. But, not just that. It also crashes when I close or cancel this checkout/clone form.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/81534i1FEC1E20067E785A/image-size/large?v=v2&px=999 "image.png")

Help with this is much appreciated.


Answers:
author: Ian Rey Comisio
body: I installed an older version of SourceTree instead and it's working fine.


author: Luka Kruljac
body: Check do you have installed git on your machine.


author: Maxim Simonov
body: Same here, on version 3.3.8


author: jaredsmigelski
body: Same here, hoping we get a fix soon

comments: author: strawberrycz
body: Here too.


author: Daniel Elder
body: Yep, same problem.


author: Kristof Batizy
body: Same issue here...


Tags: check-out

clone

crash
Annoying delay when re-focusing a tab
Asked by xmontero:

On tab click/focus, the sourcetree wants to refresh. This is anoying if the refresh lasts 10 seconds everytime.

When I have multiple tabs, and one repo is showing up, then, if I go to another tab and then return to the original one I'd expect to see EXACTLY what was being displayed before the tab was hidden. This also happens if I go to another application. It seems an "onFocus" hook.

I'd expect to behave the exact same way that if I have a browser: I don't have to "reload the page" each time I re-focus the tab in the browser. I just go and see what was there before the focus-out.

Then if I want the latest changes, I'd press F5 or so to "force" a refresh.

Is this behaviour disableable?

I currently disabled:

\[ \] Refresh automatically when files change  
\[ \] Refresh when acpplication is not in focus

But I'd need one saying "Refresh on focus again" to disable it.

How can I handle this?


Answers:
author: Kalen Nguyen
body: Exactly! I and my team got this situation too. Please fix it ASAP.
Registration with Bitbucket server account doesn't work
Asked by Galya.Bogdanova:

We have Bitbucket Server (Stash) installed on the local network. When I try to install SourceTree it requires an account to be registered. I choose Login with Bitbucket server, but it gives the error: Invalid URI: The hostname could not be parsed. The URI is in the format: <https://stash.subdomain.subdomain.domain.net> . It is an important issue, because I want to make more people use SourceTree as their Git tool in out organization, but if it requires them to register additional account for Bitbucket, just to pass the installation, that wouldn't be fun.


Answers:
author: Galya.Bogdanova
body: It was an issue related to an older version of Bitbucket, seems fixed in the latest one.