Error on JIRA source tab for disabled Fisheye repositories

SylviaL April 29, 2012

For JIRA projects that do not have repository linked to, we are seeing the following errors on the source tab. Issues in projects that have Fisheye linkage work well as the Perforce changelists are appearing correctly on the source tab. The repositories in the errors are currently disabled. Why are we seeing these errors for disabled repositories? What can I do to fix this without deleting the currently disabled repositories in Fisheye.

This list of changesets may be incomplete, as errors occurred retrieving changesets from the following repositories:

Repository Autolab_test on http://abc123.corp.net/ failed: Error in remote call to 'abc123' AbstractRestCommand{path='api/rest/query', params={query=select revisions from dir / where comment matches 'XXX-7' order by date group by changeset return csid, rep=Autolab_test}, methodType=POST} : unknown repository: Autolab_test

Repository TestSVN on http://abc123.corp.net/ failed: Error in remote call to 'abc123' AbstractRestCommand{path='api/rest/query', params={query=select revisions from dir / where comment matches 'XXX-7' order by date group by changeset return csid, rep=TestSVN}, methodType=POST} : repository not in correct state: Repository is stopped

Repository Autolab on http://abc123.corp.net/ failed: Error in remote call to 'abc123' AbstractRestCommand{path='api/rest/query', params={query=select revisions from dir / where comment matches 'XXX-7' order by date group by changeset return csid, rep=Autolab}, methodType=POST} : repository not in correct state: Repository is stopped

6 answers

2 votes
SylviaL May 10, 2012

Atlassian support answered my question. Turns out there's an option to disable unmapped project. Per Fisheye plugin configuration tutorial:

Since version 2.5, the FishEye plugin has provided a "Disable for unmapped JIRA Projects" option in the FishEye Configuration administration screen. If set to true, the FishEye tab panel will not display for projects that do not have explicit repository mappings.

Go to <tt>Administration > Fisheye plugin > Configure</tt> and set the "Disable for unmapped..." to <tt>true</tt> or <tt>ON</tt>, that should fix the issue.

Chad Barnes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2013

"Disable for unmapped JIRA Projects" is no longer an option in the current versions of the tools and plug-in (v5.2.5 plug-in). And, we are seeing this issue for any repository that meets one of the following conditions:

  • has a legitimate error condition in fisheye
  • is "stopped" in fisheye
  • is "disabled" in fisheye

This is a problem for any JIRA project that does not have explicit project links defined between it and Fisheye repository(ies).

Our only solution was to remove the stopped and disabled repositories.

Chad Barnes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2013

My use the word "current" was mis-guided. Newer versions of both Fisheye (2.10.2) and the Fisheye plug-in (5.2.9) resolve this issue.

0 votes
SylviaL May 10, 2012

Atlassian support answered my questions. Turns out there's an option to disable unmapped project. Per Fisheye plugin configuration tutorial:

Since version 2.5, the FishEye plugin has provided a "Disable for unmapped JIRA Projects" option in the FishEye Configuration administration screen. If set to true, the FishEye tab panel will not display for projects that do not have explicit repository mappings.

Go to <tt>Administration > Fisheye plugin > Configure</tt> and set the "Disable for unmapped..." to <tt>true</tt> or <tt>ON</tt>, that should fix the issue.

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2012

I believe you need to remove your project link between repository and the project. If you disable the repository then Jira needs to be disconnected as well.

http://confluence.atlassian.com/display/JIRA/Deleting+a+Project+Link

Read about adding a project link to understand why better.

http://confluence.atlassian.com/display/JIRA/Adding+Project+Links+between+Applications

Tamas Kiss May 7, 2012

We have the same issue, but not only the stopped or disabled repositories are listed, but all not accessible (Received status code 403 (Forbidden). So removing the application link is not an option.

We have Jira v4.4.5

It is quite confusing, as non of reported repositories are relevant for the current project (they are not mapped)

0 votes
Ivaylo Stanev May 1, 2012

I have the same problem. Anyone any ideas how to fix it?

0 votes
Ivaylo Stanev May 1, 2012

I have the same problem. Anyone any idea how to fix this?
 
Using Jira 5.0.2 with the latest Fisheye plugin version.

0 votes
Adam Myatt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2012

Did you figure this out?

Suggest an answer

Log in or Sign up to answer