This page last changed on Dec 15, 2009 by csut017.

Default Issue Tracker URL Builder

It contains the url of the involved project, with the issue number as a parameter.

Version

Available from version 1.0

Examples

<issueUrlBuilder type="defaultIssueTracker">
  <url>http://jira.public.thoughtworks.org/browse/CCNET-{0}</url>
</issueUrlBuilder>

Configuration Elements

Element Description Type Required Default Version
url The base URL to use.
The issue number is held in {0}.
String Yes n/a 1.0

Notes

Whenever a checkin is done, the following logic is applied :

  • Split the comment into a string array; separator is space
  • From the first part, take all the numeric parts, starting from the end of this part
  • Paste this number into the parameterFor example, with this configuration:
    <issueUrlBuilder type="defaultIssueTracker">
      <url>http://jira.public.thoughtworks.org/browse/CCNET-{0}</url>
    </issueUrlBuilder>

    The following comments would be converted into the URL http://jira.public.thoughtworks.org/browse/CCNET\-1223:

  • CCNET-1223: CCnet should foresee a way to transform the comments into hyperlinks for integration with issue tracking systems
  • CCNET-1223 CCnet should foresee a way to transform the comments into hyperlinks for integration with issue tracking systems
  • CCNET-1223
  • 1223
Automatically Generated

Documentation generated on Tuesday, 15 Dec 2009 at 8:24:11 PM

Document generated by Confluence on Jan 23, 2011 08:52