Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Map commits to issue by custom rule (regexp)

Rinat Mulyukov February 23, 2014

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
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2014

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

0 votes
Nick
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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}

Rinat Mulyukov February 26, 2014

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