All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
FishEye can detect special substrings in commit messages, and hyperlink those substrings to other systems. The result is, when browsing commit messages or comments in FishEye, any issue IDs or Bug IDs that appear will be turned into hyperlinks, allowing you to easily click to see those referenced issues or pages.
This is particularly useful if you use an issue tracking system, and put the issue identifiers into your commit messages. The 'Linkers' repository option allows you to define the substrings and their related URLs.
Any linkers defined in the repository defaults are added to each individual repository.
Here are some examples of how to create simple linkers.
Regex: [a-zA-Z]{2,}-\d+
Href: http://jirahost:8080/browse/${0}
jirahost with the hostname of the desired JIRA instance.Regex: (JRA|CONF|CRUC)-\d+
Href: http://jirahost:8080/browse/${0}
jirahost with the hostname of the desired JIRA instance.Regex: (ABC)-[a-zA-Z]+-\d+
Href: http://bamboohost/browse/${0}
bamboohost with the hostname of the desired bamboo instance.Regex: ^BUG: (\d+)
Href: http://bugzilla/bugzilla/show_bug.cgi?id=${1}
Regex: (?i)bug[#|\s|:]*(\d+)
Href: http://bugzilla/bugzilla/show_bug.cgi?id=${1}
FishEye uses the Java regular expression language, which is based on Perl 5 regular expressions.
Note: If you want your regex to be case insensitive, put (?i) at the start of the regex.
To try out your regular expressions, you can use this online test page.