Integrating with Other Issue Tracker

Version 10 by Steve Luo
on Jun 10, 2010 21:00.


compared with
Version 11 by Steve Luo
on Jul 18, 2010 14:36.


Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 0 changes. View first change.

 For those issue tracker which QuickBuild not supported, you can define a search pattern and a replace pattern in *_Comments Transformer_*. For example, we want to hyperlink all issue keys mentioned in commit messages to corresponding Bugzilla issue page, we can define search pattern as:
 {code}
 (?<!\:)(?:#|bug:)(\d+)(\b|$)
 {code}
  
 and define replace pattern as:
 {code}
 <a target="_blank" title="Click to open this issue a new window" href="http://mybugzilla.com/browse/$1">#$1</a>
 {code}
  
 You can define arbitary HTML pieces here. The syntax for the pattern is useing [Java regular expression|http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html].