# HG changeset patch # User Marcin Kuzminski # Date 1325871456 -7200 # Node ID 2ef309c3175d3e95bdf47c74cdab01cbc05d1624 # Parent a6a30c919513f8552ca05fbab5254a77002a8d87 docs update diff -r a6a30c919513 -r 2ef309c3175d docs/setup.rst --- a/docs/setup.rst Fri Jan 06 19:27:32 2012 +0200 +++ b/docs/setup.rst Fri Jan 06 19:37:36 2012 +0200 @@ -425,7 +425,25 @@ forge the authentication header and could effectively become authenticated using any account of their liking. +Integration with Issue trackers +------------------------------- +RhodeCode provides a simple integration with issue trackers. It's possible +to define a regular expression that will fetch issue id stored in commit +messages and replace that with an url to this issue. To enable this simply +uncomment following variables in the ini file:: + + url_pat = (?:^#|\s#)(\w+) + issue_server = https://myissueserver.com/issue/{id} + issue_prefix = # + +`url_pat` is the regular expression that will match issues, default given regex +will match issues in format of # eg. #300. +Matched issues will be replace with the `issue_server` url replacing {id} with +id fetched from regex. Since the # is striped `issue_prefix` is added as a +prefix to url. `issue_prefix` can be something different than # if you pass +ISSUE- as issue prefix this will generate an url in format +`ISSUE-300` Hook management ---------------