Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can previous changeset revisions referenced through new commit messages?

knowshan January 23, 2014

I was wondering if FishEye supports linking to previous changeset revisions using some markup syntax.

For example, text '#comment fixes bug introduced by r2333' in commit message will create hyperlink to fisheye.example.com/changelog/Repo/cs=2333 . It would be great to cross-reference this through JIRA as well.

I referred to FishEye wiki markup and smart commit documentation, but I couldn't find any examples. Any help?

2 answers

1 accepted

0 votes
Answer accepted
lpater
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2014

Hi Shantanu,

the built in highlighters currently only support auto-linking Crucible reviews and JIRA issues. There's a feature request for that here https://jira.atlassian.com/browse/FE-113, please vote on it if you'd like to see it implemented.

You can however, define your own linker syntax in the repository admin section to acomplish the same goal - you just need to specify a regular expression you'd like to match, and the link to convert it to. Please see https://confluence.atlassian.com/display/FISHEYE/Linkersfor more details.

0 votes
knowshan January 23, 2014

Thanks Lukasz!

Here is an example using Linkers for future reference:

Pattern for commit linker: @2222
Regex: @(\d+)
Href: http://fisheye.example.com/changelog/MyRepo?cs=${1}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events