Skip to main content
Version: QB90

Integrating QuickBuild with Other Issue Tracker

For those issue trackers QuickBuild not support, 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:

(?<!\:)(?:#|bug:)(\d+)(\b|$)

and define replace pattern as:

<a target="_blank" title="Click to open this issue a new window" href="http://mybugzilla.com/browse/$1">#$1</a>

You can define arbitary HTML pieces here. The syntax for the pattern is useing Java regular expression.