Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can previous changeset revisions referenced through new commit messages?

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 Jan 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.

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

384 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you