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

0 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,230 views 5 10
Read article

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