Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For an Issue Connector to work it must have an Id group.

The regular expression used to extract id's takes advantage of named groups. Whenever you use a named group in the regular expression it must have a corresponding tag in the Issue Server URL. 

...

Commit Message Regex: #(?<id>\d+)

 

You can have multiple groups in

...

an Issue Sever URL/Commit Message Regex

If you have an issue tracking system that also takes in a project, it's possible to modify the regular expression to handle it.

...

Commit Message Regex: #(?<project>\w+)-(?<id>\d+)

This would generate the URL: http://www.issues.com/myawesomeproject/issue/29981


You can have multiple issue id's in a commit message

Taking our first example's Issue Connector settings, a commit message "Fixed annoying deadlock bug, solves issues #29981, #44412 and #9881" would generate three links:

http://www.issues.com/issue/29981
http://www.issues.com/issue/44412
http://www.issues.com/issue/9881