4

How should I set the "Issue Tracking" parameters "Issue Regex" and "Issue Link" to enable linking to "Bug [number]" from TortoiseHg?

The Issue Link should be in a format like this:

http://www.company.com/bugzilla/show_bug.cgi?id=[number]
Martin Geisler
  • 72,968
  • 25
  • 171
  • 229
Ola Eldøy
  • 5,720
  • 7
  • 49
  • 82

1 Answers1

6

Try this:

Issue Regex: Bug (\d+)

Issue Link: http://www.company.com/bugzilla/show_bug.cgi?id={1}

This will make the text Bug 123 be underlined in the commit messages and clicking on it will go to http://www.company.com/bugzilla/show_bug.cgi?id=123

Steve Kaye
  • 6,262
  • 2
  • 23
  • 27