Is it possible to integrate Mercurial commits with JIRA or FishEye (via TortoiseHg or hg)?
Asked Answered
S

3

7

Is there a way to link every HG commit to a specific bug tracking issue?

For example, show a drop down when committing from TortoiseHg with all active JIRA issues assigned to the current user (similar to the TortoiseSVN Plugin for JIRA). Maybe a drop down is too fancy, but is there something similar to the TortoiseSVN Integration with Bug Tracking Systems / Issue Trackers available at least, i.e. a text box in the top right of the commit window where you can enter the issue number? Can't seem to find anything similar in THG.

I found some promising configurations in the TortoiseHg manual but find them very primitive... Ideas/thoughts/workarounds?

Stick answered 23/6, 2010 at 15:37 Comment(1)
Ok, so in the repo .hg\hgrc file I was able to get a link to show up..by adding: [tortoisehg] issue.regex = #(\d+)\b issue.link = JIRA_SERVER/browse/PROJECT_NAME-{1} Would be nice if I can get that to FishEye..etcStick
B
1

The answer is no -- TortoiseHg does not support the features you ask for. The feature has already been entered into TortoiseHg's bug tracker, so I suggest you sign up at Bitbucket and "follow" the issue there.

Bernitabernj answered 30/6, 2010 at 16:31 Comment(0)
C
6

It's there now.

Go to File/Settings/, then choose either the global settings tab or the repository's one.

Under Issue Tracking add the appropriate regex and link. For example \b\w{3,7}-\d+\b and http://your.jira.server.com:8080/browse/{0}.

See http://caraulean.com/blog/2011/09/09/tortoisehg-and-jira-integrationthe-lightweight-option/

Cati answered 17/2, 2015 at 14:22 Comment(0)
F
3

fyi, this was addressed by the TortoiseHg team about two weeks ago. it is currently in nightly builds, but will likely make it into the next real release.

Fabrication answered 20/4, 2011 at 4:23 Comment(0)
B
1

The answer is no -- TortoiseHg does not support the features you ask for. The feature has already been entered into TortoiseHg's bug tracker, so I suggest you sign up at Bitbucket and "follow" the issue there.

Bernitabernj answered 30/6, 2010 at 16:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.