Map commits to issue by custom rule (regexp)

We used Jira for a long time and becouse we had just one project we used short form of issue key labling our commits. For example "[123]" instead of "ABC-123". Now we decided to try FishEye+Crucible integration and I'm trying to map commits from our repo to our issues and can't find is it possible at all.

2 answers

1 accepted

Accepted Answer
0 votes

No, it needs the full key, as the uniqueness is pretty much mandatory

0 votes
Nick Pellow Atlassian Team Feb 25, 2014

This is totally doable, by using a custom FishEye "Linker". See https://confluence.atlassian.com/display/FISHEYE/Linkers

For example, to link the text: "[123]" to a JIRA issue ABC-123 on a JIRA instance at jira.yourcompany.com, you could use the following regexp and URL:

Regex: \[(\d+)\]
Href: http://jira.yourcompany.com/browse/ABC-${1}

Now I see links to my Jira issue, but i still can't see my commits in Source tab in Jira and this was my main goal, is it possible?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,525 views 2 7
Join discussion

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