##// END OF EJS Templates
jira: fixed #5439 documentation typo.
marcink -
r2587:867e7420 stable
parent child Browse files
Show More
@@ -1,81 +1,81 b''
1 1 .. _rhodecode-issue-trackers-ref:
2 2
3 3 Issue Tracker Integration
4 4 =========================
5 5
6 6 You can set an issue tracker connection in two ways with |RCE|.
7 7
8 8 * At the instance level, you can set a default issue tracker.
9 9 * At the |repo| level, you can configure an integration with a different issue
10 10 tracker.
11 11
12 12 To integrate |RCM| with an issue tracker, you need to define a regular
13 13 expression that will fetch the issue ID stored in commit messages, and replace
14 14 it with a URL. This enables |RCE| to generate a link matching each issue to the
15 15 target |repo|.
16 16
17 17 Default Issue Tracker Configuration
18 18 -----------------------------------
19 19
20 20 To integrate your issue tracker, use the following steps:
21 21
22 22 1. Open :menuselection:`Admin --> Settings --> Issue Tracker`.
23 23 2. In the new entry field, enter the following information:
24 24
25 25 * :guilabel:`Description`: A name for this set of rules.
26 26 * :guilabel:`Pattern`: The regular expression that will match issues
27 27 tagged in commit messages, or more see :ref:`issue-tr-eg-ref`.
28 28 * :guilabel:`URL`: The URL to your issue tracker.
29 29 * :guilabel:`Prefix`: The prefix with which you want to mark issues.
30 30
31 31 3. Select **Add** so save the rule to your issue tracker configuration.
32 32
33 33 Repository Issue Tracker Configuration
34 34 --------------------------------------
35 35
36 36 You can configure specific |repos| to use a different issue tracker than the
37 37 default one. See the instructions in :ref:`repo-it`
38 38
39 39 .. _issue-tr-eg-ref:
40 40
41 41 Jira Integration
42 42 ----------------
43 43
44 44 * Regex = ``(?:^#|\s#)(\w+-\d+)``
45 * URL = ``https://myissueserver.com/issue/${id}``
45 * URL = ``https://myissueserver.com/browse/${id}``
46 46 * Issue Prefix = ``#``
47 47
48 48 Confluence (Wiki)
49 49 -----------------
50 50
51 51 * Regex = ``(?:conf-)([A-Z0-9]+)``
52 52 * URL = ``https://example.atlassian.net/display/wiki/${id}/${repo_name}``
53 53 * issue prefix = ``CONF-``
54 54
55 55 Redmine Integration
56 56 -------------------
57 57
58 58 * Regex = ``(issue-+\d+)``
59 59 * URL = ``https://myissueserver.com/redmine/issue/${id}``
60 60 * Issue Prefix = ``issue-``
61 61
62 62 Redmine (wiki)
63 63 --------------
64 64
65 65 * Regex = ``(?:wiki-)([a-zA-Z0-9]+)``
66 66 * URL = ``https://example.com/redmine/projects/wiki/${repo_name}``
67 67 * Issue prefix = ``Issue-``
68 68
69 69 Pivotal Tracker
70 70 ---------------
71 71
72 72 * Regex = ``(?:pivot-)(?<project_id>\d+)-(?<story>\d+)``
73 73 * URL = ``https://www.pivotaltracker.com/s/projects/${project_id}/stories/${story}``
74 74 * Issue prefix = ``Piv-``
75 75
76 76 Trello
77 77 ------
78 78
79 79 * Regex = ``(?:trello-)(?<card_id>[a-zA-Z0-9]+)``
80 80 * URL = ``https://trello.com/example.com/${card_id}``
81 81 * Issue prefix = ``Trello-``
General Comments 0
You need to be logged in to leave comments. Login now