How to fix the discordant URL encoding between JIRA and Fisheye?

ComeR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2011

The URL encoding of web links for Git Repositories in Jira is different from the URL encoding used by Fisheye. As a result, the links to the modified files for a ticket that are listed under the "Git Commits" tab are broken.

For instance, if I have a repository MyGitProject with a path 'c++/someFile.cpp', the URL in Jira will be:

http://fisheye-server:8060/browse/MyGitProject/c++/someFile.cpp#841e1caa1ce

But the correct URL for fisheye should be:

http://fisheye-server:8060/browse/MyGitProject/c%2B%2B/someFile.cpp#841e1caa1ce

(fisheye encodes the 'c++' part of the URL, that becomes 'c%2B%2B')

My guess is that I would need to replace the '${path}' in the "File Modified Format" with somethin like '${urlEncodedPath}' in the 'web linking' section of the repository, but I couldn't find the relevant variable (or even the relevant part of the documents)

Thanks for any help

1 answer

0 votes
Chii
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2011

This is a known bug in the Jira FishEye Plugin , see https://studio.plugins.atlassian.com/browse/FISH-453

Suggest an answer

Log in or Sign up to answer