youngmon/atlassian-qna huggingface dataset:
How can we move reviews information between crucible instances?
Asked by Rahul Aich [Nagra]:

Hi

We have two crucible instances (both on 3.2.3 version)

I want to move some crucible projects from one instance to another. Is this possible?

I can recreate the fisheye repositories again on the other instance, but i am not sure how to move the reviews, defects, comments, closure comments etc between crucible instances.

Any ideas?

Rahul


Answers:
author: Piotr Swiecicki
body: Hi Rahul,

I am afraid this is not possible at the moment. The only workaround I can think of is to backup your instance, restore it on separate box and delete some projects on first server and others project on second server to split one instance into two. But merging two separate instances into one will not be easily achievable.

There is an open feature request for such a feature though, see and vote if you wish on [](https://jira.atlassian.com/browse/CRUC-681.)<https://jira.atlassian.com/browse/CRUC-681>. This is on our roadmap but unfortunatelly I cannot confirm any date this could be delivered.

Kind regards,  
Piotr

comments: author: Rahul Aich [Nagra]
body: Thanks Piotr, that helps.


Tags: fisheye-crucible-administration
How to setup the FishEye with GIT
Asked by psubudhi:

Hi ,

I am beginner to FishEye evaluating FishEye for our company.

Need help in setting up with GIT at Bitbucket.

While testing the connection I am getting following error: Any help in this is appriciated.

Error testing connection.  
Error talking to repository:   

<br />

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:147)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:441)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:573)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

Connection failed.


Answers:
author: Piotr Swiecicki
body: Hi,

Ensure you have the git binary available on the system path. You can check it in the Admin / Server screen, see Git executable section.

If this is set and test connection still errors, enable the debug mode in the same Admin / Server screem, try Test Connection once again and check FISHEYE_INST/var/log/atlassian-fisheye-DATE.log file for any errors reported there. Let me know what they are please.

Hope that helps,   
Piotr


author: psubudhi
body: Thanks Piotr. I am able to resolve by setting the Git in the path. The connection is success now.

comments: author: Denis Strekha
body: For more details please.


author: Rahul Mohan
body: This error may be mostly due to the failure in setting the Git Executable Path. Please set the path for the Git Executable by following the insruction available
Urgent: latest version of Fisheye and Jira ondemand is that possible?
Asked by guru prasad:

latest version of Fisheye and Jira ondemand is that possible?

currently we are using JIRA v6.2 OnDemand and planning for FishEye integration with SVN.


Answers:
author: Nic Brough -Adaptavist-
body: OnDemand is the first place to get the latest production versions of Atlassian software. They are deployed there well before download users get them.

comments: author: guru prasad
body: Thanks Nic. I've heard that, there isg going to be expire the functionality of integration. So was though to confirm, i posted this in the fourm.

Thanks Again!!


Tags: fisheye-crucible-svn-ondemand
How do I stop crucible from logging users out after ~1hr
Asked by Matt Komorowski:

We are on Crucible Version:3.2.4 and are experiencing the same premature log-out issue mentioned here:

[](/questions/154115/fisheye-crucible-how-do-i-increase-or-remove-session-timeout?sort=votes&page=1)[https://answers.atlassian.com/questions/154115/fisheye-crucible-how-do-i-increase-or-remove-session-timeout?sort=votes\&page=1](https://answers.atlassian.com/questions/154115/fisheye-crucible-how-do-i-increase-or-remove-session-timeout?sort=votes&page=1)

In FireFox 26.0 on Ubuntu, I see the following behavior:

\* Log in successfully; cookies contain \*FESESSIONID\* and \*remember\* (remember has an Expires of 1 year).

\* Keep page open in browser (doesn't seem to matter which page)

\* After some time (I've seen as short as \~30 minutes and as long as 75 minutes), a GET request to /user/USERNAME?ajax=true is made (where USERNAME is a placeholder for my user identifier). The response contains a Set-Cookie header which changes \*FESESSIONID\* and \*crucibleprefs1\*, and deletes \*remember\* (sets the expiration to jan 1, 1970)

I do not see anything tell-tale in the logs at that time.

Let me know if you need more data or if there's a ticket I can add detail to (or vote for)

Cheers


Answers:
author: Piotr Swiecicki
body: Hi Matt,

I replied to your comment on the other question, see [](/questions/154115/fisheye-crucible-how-do-i-increase-or-remove-session-timeout?page=1#comment-274197)<https://answers.atlassian.com/questions/154115/fisheye-crucible-how-do-i-increase-or-remove-session-timeout?page=1#comment-274197>.

comments: author: Matt Komorowski
body: Thanks Piotr, I created an issue at [support.atlassian.com](http://support.atlassian.com)and will answer here once a the issue is resolved.


Tags: session

timeout
Run Fisheye behind f5 load balancer (Accessing to commits/projects)
Asked by Darly Senecal-Baptiste:

Hi Community,

I am running Fisheye/Crucible behind f5 load balancer. Everthing is working fine. However, after a user/admin adds a new repository (outside of the fisheye server) or creates a new project on fisheye, users cannot access to the new project because the load balancer is looking what's inside of the server.

I want to know, how to allow in f5 or even in fisheye use can access those commits and crucible project when admin create projects after fisheye is set behing the load balancer. Thanks


Answers:
author: Felipe Kraemer
body: Hi Darly,

As the load balancer is looking for what's inside its own server, I am wondering if you can use [Rsync](http://en.wikipedia.org/wiki/Rsync) in order to clone the repository that exists outside of the load balancer server into the load balancer server?

Kind regards,  
Felipe Kraemer


author: Darly Senecal-Baptiste
body: There is one fisheye server, which contains svn and git application as well. Also there is one independent git server (outside of f5 sphere) that fisheye needs to be talking to. At this point, fisheye is talking to the git server in terms of indexing. However, when regular users access the repository, it sends to a Apache error.

In terms of method, I rather said f5 is managing fisheye striclty by port number


author: Chris Rondeau
body: hrmm.. it kind of sounds like each server behind the load balancer is independant and not sharing data.

How many fisheye servers behind the load balancer, and what method are you using (Round Robin, Least Connections...)


Tags: fisheye-crucible-administration

load-balancer
Retrieve list of branches for repository from FishEye Rest API
Asked by Ash Noble:

I'm trying to write a tool that checks reports out on the code review completeness of each branch in a Git repository. I can use the various APIs to get the number of reviewed and unreviewed changesets for a branch, but what I haven't been able to find is an API that returns me a list of all the branches in a repository. Can anyone help?


Answers:
author: Maciej Swinarski
body: Hi,

You could use the internal REST API used by FishEye UI. Note this is an internal API so there is no guarantee it will not change in the future without warning.

```
[FISHEYE_URL]/changelog-ajax/[REPO_NAME]?command=branches&amp;limit=100&amp;q=
```

Mac
Diffing arbitrary commits in stash/fisheye?
Asked by Andreas Krey:

(git) I have two commits a and b, and I want to do a diff for a given file name between these two (like 'git diff a..b filename'). Is there any way I can do so in either stash or fisheye, and hopefully, is a page doing so adressable by a URL that contains the filename and commit hashes?


Answers:
author: Piotr Swiecicki
body: Hi Andreas

It's definitelly achievable in FishEye, see [](https://fisheye6.atlassian.com/browse/activemq-git/maven.xml?r1=1baf9f1&r2=a094f32)[https://fisheye6.atlassian.com/browse/activemq-git/maven.xml?r1=1baf9f1\&r2=a094f32](https://fisheye6.atlassian.com/browse/activemq-git/maven.xml?r1=1baf9f1&r2=a094f32) for example.

If I am not mistaken it is not possible in Stash but there is an open feature request for it, [](https://jira.atlassian.com/browse/STASH-2513)<https://jira.atlassian.com/browse/STASH-2513> Feel free to vote on it if you find it useful.

Kind regards,


author: Andreas Krey
body: (I could just do the diff, color it, and throw it into HTML, but then the side-by-side diff feature wouldn't be there, as would some other niceties of stash.)


Tags: bitbucket

bitbucket-server

diff
Anyone else having issues with FishEye 3.3.1 upgrade?
Asked by Tim Davis:

Has anyone else upgraded to FishEye 3.3.1 and encountered issues. We started seeing a 'revkey not found for revid-1' error and it seemed indexing was slower. We've now reverted back to 3.2.4

Anyone else?


Answers:
author: Piotr Swiecicki
body: Hi Tim,

FishEye 3.3.2 with [](https://jira.atlassian.com/browse/FE-5114%20)<https://jira.atlassian.com/browse/FE-5114>in place was just released. Please upgrade and this would fix your problem.

Kind regards,  
Piotr

comments: author: Tim Davis
body: Hi,

Upgraded this morning and am re-indexing a couple of repositories right now. So far so good. Think we can close this question now, thanks


author: Tim Davis
body: Hi,

Atlassian have confirmed that this is a bug .. and it will be fixed in 3.3.2 or later. As soon as a fix is available, we will upgrade and confirm. In the meantime, we'll sick with 3.2.4.

Given that the cause is now known and understood, then this questions can be completed and closed.

Thankyou for you input


author: AafrinA
body: Hi Tim,  

Can you try the workaround solutions mentioned [here](https://confluence.atlassian.com/display/FISHKB/Repository+paused+due+to+error+Revkey+not+found+for+revid+-1) to fix the revkey not found for revid-1 issue
Fisheye changeset in JIRA comment is not linked automatically.
Asked by Kordan Ou:

I follow the [instruction](https://confluence.atlassian.com/display/JIRA/How+to+Create+a+FishEye%27s+Changeset+or+Crucible%27s+Review+Link+on+JIRA%27s+Comment+or+Description?focusedCommentId=515145788&#comment-515145788). Things like r453 will not show up as a link, "CR-1" works fine.

Anything goes wrong??

JIRA: 6.2

Fisheye: 3.3.1


Answers:
author: Foong
body: Hi Kordan,

Did you add the Entity Link between the Subversion repository and JIRA Project at *FishEye Administration \> Repository Settings \> Repositories \> Actions (for the related repository) \> Application Links* ?

Please create reciprocal link from JIRA Project to FishEye Repository too.


author: Kordan Ou
body: It helps, thank you!!


Tags: fisheye-crucible-administration
fisheye how to create repo from command line
Asked by Ming Ho:

has anybody successfully created repositories from commandline in fisheye?

I followed the rest api doc using the follorwing:  
curl -D- -u xxxxx:yyyyy -X PUT --data {"type":"SUBVERSION","name":"SCM","url":"svn+ssh://mycompany.com","path":"SCM","username":"build"} -H "Content-Type: application/json" [http://crucible.mspot.com/rest-service-fecru/admin/repositories-v1\<br\< a=""\>\>
got the following error:
curl: (6) Could not resolve host: name; nodename nor servname provided, or not known
curl: (6) Could not resolve host: url:svn+ssh; nodename nor servname provided, or not known
curl: (6) Could not resolve host: path; nodename nor servname provided, or not known
curl: (6) Could not resolve host: username; nodename nor servname provided, or not known
HTTP/1.1 500 Server Error
Date: Wed, 12 Mar 2014 21:5...
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />](http://crucible.mspot.com/rest-service-fecru/admin/repositories-v1%3Cbr)
[It seems the json structure suggested in api doc might not be correct.](http://crucible.mspot.com/rest-service-fecru/admin/repositories-v1%3Cbr)


Answers:
author: Maciej Swinarski
body: Hi Ming Ho,

As you can see in the output the errors comes from curl itself. The query doesn't reach FishEye.

\* You need to put the content of data in single quotes

\* As defined [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e548)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e548>you should use POST not PUT

Try this:

```
curl -u xxx:xxx -X POST --data '{"type":"SUBVERSION","name":"SCM","url":"svn+ssh://mycompany.com","path":"SCM","username":"build"}' -H "Content-Type: application/json" http://crucble.mspot.com/rest-service-fecru/admin/repositories-v1/
```

Hope this works.

Also expect a much more powerfull repository management REST API in FishEye 3.4.

Mac


author: Ming Ho
body: ah yes. Post did the trick.
Where to download the actual FishEye source?
Asked by Ronnie Kefes:

We are experiencing some unexpected behavior while indexing a repository that contains ?'s and ?'s in the filepaths. Since I wanted to exclude a configuration problem on our side before filing a bug, I wanted to look into the indexing mechanism of Fisheye.

The page [](https://my.atlassian.com/download/source/fisheye)<https://my.atlassian.com/download/source/fisheye>states that "your license entitles you to the FishEye source for the period of your license" - but the downloadable .zip only contains the source for the JSPs, templates etc. The rest is packed in the fisheye.jar, without any source.

How do I get my hands on the actual source files?

Thanks.


Answers:
author: Piotr Swiecicki
body: Hi Ronnie,

I'm afraid FishEye/Crucible is different to other Atlassian's product that it only comes with JSP Source code but not the rest of source code. See [](https://www.atlassian.com/licensing/purchase-licensing#customizationsandprofessionalservices-1)<https://www.atlassian.com/licensing/purchase-licensing#customizationsandprofessionalservices-1>

Kind regards,  
Piotr

comments: author: Ronnie Kefes
body: That's unfortunate. Thanks anyway.
Unable to start fecru
Asked by Intelcan:

Hi,

After stopping fecru with the command ./fisheyectl.sh stop

I am unable to start it again, I get the following error when I run ./fisheyectl.sh run or ./fisheyectl.sh start in the log file

ERROR - Could not create webserver : for input string: "8060/fecru"

Any ideas?

I am using fecru 3.1.4 on Ubuntu 64 bit

Thanks


Answers:
author: Piotr Swiecicki
body: Have you played with FISHEYE_INST/config.xml file manually perhaps? Seems like you've set up http bind like:

```
&lt;http bind=":8060/fecru"/&gt;
```

where in fact it should be

```
&lt;http bind=":6060"/&gt;
```

Check your config.xml file, or submit it here so I can check what's wrong with it. Beware it contains sensitive information (db password for example) so sanitise all your sensitive information first.

Cheers,  
Piotr


author: Intelcan
body: Hi Piotr,

Yes indeed it was like that :)

I must have changed it when we added the context path. I hope that there will be a permanent way to have the context path so we don't lose it afte reach upgrade.

Thanks!

comments: author: Piotr Swiecicki
body: Of course there is, if you set up context path via admin UI it is stored in

```
&lt;web-server ... context="fecru"&gt;
```

attribute and is preserved between restarts and upgrades. If you noticed any issue with that please let us know by raising [bug report](https://jira.atlassian.com/secure/CreateIssue!default.jspa "bug report").

Cheers,
Repository index failed
Asked by Ajay Singh:

com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: com.atlassian.utils.process.ProcessException: While executing: "E:\\Program Files (x86)\\Git\\bin\\git.exe whatchanged --always --reverse --date-order -m --no-abbrev --no-renames 8b7feae8d6792d15b10dd6cffbb02048fdfa6197 --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@ " in \[F:\\FishEyeInstDir\\var\\cache\\SM-SuperPro-EX\\clone\] com.atlassian.utils.process.ProcessException: com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: I can't find the name of your HOME directory I can't find the name of your HOME directory I can't find the name of your HOME directory   

or it isn't a Dictionary E: unsupported filetype C:\\Windows\\TEMP/C2ETGc_004173-001SOW SENTINEL SUPERPRO V6 X WIN32.Doc fatal: unable to read files to diff com.atlassian.utils.process.ProcessException: While executing: "E:\\Program Files (x86)\\Git\\bin\\git.exe diff --no-renames --no-abbrev --full-index -U0 4e0e2307ed8f3a39183fa98048cccb33d72c3b96..75cf9e9ba511851c1c071e391ddfb8c0ee318c41 " in \[F:\\FishEyeInstDir\\var\\cache\\SM-SuperPro-EX\\clone\] com.atlassian.utils.process.ProcessException: Non-zero exit code: 128


Answers:
author: lpater
body: Hi Ajay,

msysgit for Windows requires a HOME environment variable to be set and point to the git home directory. It can be any writable directory really, but does need to be set and exist.

Please check and set your HOME environment variable, either globally, or for the user FishEye is running as and see if that resolves your issue.


Tags: index

repository
Exclude files and directories for Fisheye
Asked by Soo Min Ooi:

I was trying to exclude file and directory for scanning with fisheye, I wanted all files and directories under //ABC/Dir1 to be excluded. Hence I add in the following pattern in the exclude path:

//ABC/Dir1/\*\*

However, this does not seem to be working as update from //ABC/Dir1/Sub_Dir1 still being shown in fisheye, what could be wrong?


Answers:
author: AafrinA
body: Can you try this exlcude pattern:

```
/ABC/Dir1*
```

For more information, you may also refer the following documentation : <https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths>


Tags: ant
Fisheye Authentication using Jira instance
Asked by Bill Mariasoosai:

All:

I am trying to use Active Directory for user authentication in JIRA ( It works fine)

I am trying to use my Jira instance for user authentication in Fisheye

I have problem in filling in the following info while setting up Fisheye Authentication

------------------------------------

Jira/ Crowd Authentication settings

-----------------------------------

Authentication instance : Jira instance

Application Name : fisheye

Application password:

Crowd URL:

------------------------------

My questions:

1) Does the application name refer to fisheye or Jira?

2) Where does the application password come from?

3) I am not using Crowd URL . Why is it showing up?

Thanks for your help.

Bzoo


Answers:
author: Piotr Swiecicki
body: Bill,

Please notice first "Authenticate against" option in the "JIRA/Crowd Authentication settings" - if you change it to JIRA you will see JIRA related settings only. See [](https://monosnap.com/image/SOJuRoTOwH7FoYSxrnPBUJxrgRrWFE.png)<https://monosnap.com/image/SOJuRoTOwH7FoYSxrnPBUJxrgRrWFE.png>

Regarding Application Name and Password see [](https://confluence.atlassian.com/display/FISHEYE/JIRA+and+Crowd+Authentication)<https://confluence.atlassian.com/display/FISHEYE/JIRA+and+Crowd+Authentication>page and [](http://confluence.atlassian.com/display/JIRA/Allowing+Other+Applications+to+Connect+to+JIRA+for+User+Management)<http://confluence.atlassian.com/display/JIRA/Allowing+Other+Applications+to+Connect+to+JIRA+for+User+Management>page linked from the first one. It explains how to set up application name and password so you can later use those credentials in FishEye.

Hope that helps,  
Piotr

comments: author: Bill Mariasoosai
body: Hi Piotr:

Thanks for your quick response.

It was a great help!!!

I applied the **Remove** button on the "**Jira/ Crowd Authentication settings"**

and that cleared the Crowd url and showed me the Jira Url.

I was able to enter the Jira Url make it all work.

Now, my authentication is using Active Directory through a Jira instance.

**However,I have one more question.**

We are not using Crowd at all but still I see (jira with embedded crowd)

in the settings Jira/ Crowd Authentication (Jira with embedded Crowd)

What is the role of Crowd here?

Could you please explain ( Crowd instance or Jira instance implies that

it is either jira or Crowd ).Obviusly, I selected Jira and how come I see

Jira with embedded crowd.

Thanks a lot.

Regards,

Bzoo.


author: Piotr Swiecicki
body: Bill,

I'm glad to hear you managed to get it working. Regarding Jira with embedded Crowd question, it says so because JIRA 4.3 and later uses embedded crowd. This means Jira is bundled with subset of Crowd's core modules and because of this can be used as authentication tool for other Atlassian's product like FishEye. See [](https://developer.atlassian.com/display/JIRADEV/JIRA+Architectural+Overview)<https://developer.atlassian.com/display/JIRADEV/JIRA+Architectural+Overview>for more details.

Kind regards,  
Piotr


author: Bill Mariasoosai
body: Hi Piotr:

Thanks a lot. Understood.

Kind Regards,

Bzoo.
How can we map all the stash repositories for a project into Fisheye
Asked by Eric Castle:

We have Stash and Fisheye/Crucible. In Stash we have many projects and within each project many repositories. Lets say 50 repos in one Stash project.

Now a team wants to add their project repos in Fisheye (for fisheye use and so they can use Crucible). It doesn't seem scalable to have to add all those repositories into Fisheye. Are we using Git wrong? It seems to be the way Git works or the way we are using it where we have lots of repositories per project. Note: I'm not very familiar with Git and best practices but the folks using Stash are and they have created all these repos.

In perforce on the other hand one can map to the server and access any depot path within it with just ONE entry in fisheye. How can we do that with Fisheye/Stash/Git?


Answers:
author: cofarrell
body: Hi Eric,

Unfortunately integration between Stash and Fisheye has some room to improve. You might be interested in the Fisheye's PM reply here:

[](/questions/247600/how-can-i-link-a-stash-repo-to-its-fisheye-brower)<https://answers.atlassian.com/questions/247600/how-can-i-link-a-stash-repo-to-its-fisheye-brower>

Which references the open ticket:

[](https://jira.atlassian.com/browse/STASH-2589)<https://jira.atlassian.com/browse/STASH-2589>

Just on repositories/projects in Stash, there's nothing wrong with having multiple repositories per project. It honestly doesn't matter, and will depend on your teams and how manage permissions. Generally it's easy to have a project per team, but that's just one option.

Cheers,

Charles


author: Nick
body: Hi Eric,

Just a heads up that the next release of FishEye (3.4 due out mid-April 2014) will include the first phase of native Stash integration for FishEye and Crucible.

The task of adding a Stash repository to FishEye, will be a single click operation for a FishEye administrator.

Future work may include the ability to add multiple Stash repositories in a single click. We will also be investigating an "Add to FishEye" button for Stash to make the job even easier.

Regards,

Nick Pellow


author: Jean-Pol Landrain
body: It's done and it works well for Fisheye, but what about Crucible ? it would be nice to be able to add all the repositories of a Bitbucket project to a single Crucible project rather than having to add and manage the Git repositories inside the projects one by one in Crucible.


Tags: bitbucket-server