Fisheye not refreshing a Mercurial repo index

I'm evaluating the downloaded Fisheye and JIRA on Windows 7, running against a Mercurial repo.

I did a commit of a file with "DEV-2" in the commit message and that commit was correctly linked with the DEV-2 issue in JIRA via the smart-commits stuff. All good.

Then I realised that I really meant to commit against the DEV-1 issue, so I did "hg commit --amend" and modified the commit message to contain "DEV-1" instead.

This change was picked up and the commit was linked to the DEV-1 issue. BUT it's also still linked to DEV-2.

I've tried rebuilding the Fisheye index (Admin -> Repo -> Maintainance) but it's still there.

If I do "hg log" on the command line, it only shows the DEV-1 changeset, but when I check the history in Fisheye it shows the DEV-2 and the DEV-1.

Why is Fisheye still keeping the DEV-2 changeset info? What can I do to refresh Fisheye so that it only shows a link to DEV-1 and not DEV-2?

Hopefully it's just something simple I've missed.


3 answers

1 accepted

0 votes
Accepted answer

Hi Gary.

Sorry that you are facing problems with FishEye and JIRA integration.

When you modify a Commit message, no matter the SCM you are using, you will have to do the following on JIRA side:

  • JIRA requires FishEye to manually refresh repository cache when repository changes are made — When a repository is removed, or when there has been any change in FishEye repositories, JIRA does not update the FishEye repository list cache automatically. You must manually refresh the repository list cache. This is done in JIRA: 'Administration' > 'FishEye Configuration' > 'Refresh Cache' link (next to 'Repository List Cache').

On FishEye you can try a manual re-index of your repository:

  • Stop FishEye.
  • Delete the contents of the folder <FISHEYE_INST>/var/cache/<REPO_NAME>
  • Start FishEye

Please let me know if after this procedure the problem was solved.

Douglas Fabretti
Atlassian Support

This is blocking our evaluation and we only have a couple of weeks left in which I'd very much like to give JIRA and Fisheye a chance.

Shame it's such a protracted process. We're looking at Redmine now, and that has a better approach to refreshing issue->commit links.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

846 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you