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 vote

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot