2014-04-24 18:48:22 -04:00
# External issue tracker
2015-02-13 11:56:25 -05:00
GitLab has a great issue tracker but you can also use an external issue tracker such as Jira, Bugzilla or Redmine. You can configure issue trackers per GitLab project. For instance, if you configure Jira it allows you to do the following:
2014-01-24 06:09:33 -05:00
2015-02-12 20:06:55 -05:00
- the 'Issues' link on the GitLab project pages takes you to the appropriate Jira issue index;
- clicking 'New issue' on the project dashboard creates a new Jira issue;
- To reference Jira issue PROJECT-1234 in comments, use syntax PROJECT-1234. Commit messages get turned into HTML links to the corresponding Jira issue.
2014-01-24 06:09:33 -05:00
2015-02-03 18:18:40 -05:00
![Jira screenshot ](jira-integration-points.png )
2014-03-20 10:32:30 -04:00
2015-02-18 23:49:19 -05:00
GitLab Enterprise Edition contains [advanced JIRA support ](http://doc.gitlab.com/ee/integration/jira.html ).
2015-02-12 20:06:55 -05:00
## Configuration
### Project Service
2015-02-13 11:56:25 -05:00
You can enable an external issue tracker per project. As an example, we will configure `Redmine` for project named gitlab-ci.
2015-02-12 20:06:55 -05:00
Fill in the required details on the page:
![redmine configuration ](redmine_configuration.png )
* `description` A name for the issue tracker (to differentiate between instances, for example).
* `project_url` The URL to the project in Redmine which is being linked to this GitLab project.
2015-02-13 11:56:25 -05:00
* `issues_url` The URL to the issue in Redmine project that is linked to this GitLab project. Note that the `issues_url` requires `:id` in the url. This id is used by GitLab as a placeholder to replace the issue number.
2015-02-12 20:06:55 -05:00
* `new_issue_url` This is the URL to create a new issue in Redmine for the project linked to this GitLab project.
### Service Template
2015-02-13 11:56:25 -05:00
It is necessary to configure the external issue tracker per project, because project specific details are needed for the integration with GitLab.
The admin can add a service template that sets a default for each project. This makes it much easier to configure individual projects.
2015-02-12 20:06:55 -05:00
In GitLab Admin section, navigate to `Service Templates` and choose the service template you want to create:
![redmine service template ](redmine_service_template.png )
After the template is created, the template details will be pre-filled on the project service page.
2014-05-17 04:41:12 -04:00
2015-04-26 19:44:22 -04:00
NOTE: For each project, you will still need to configure the issue tracking URLs by replacing `:issues_tracker_id` in the above screenshot
with the ID used by your external issue tracker. Prior to GitLab v7.8, this ID was configured in the project settings, and GitLab would automatically
update the URL configured in `gitlab.yml` . This behavior is now depecated, and all issue tracker URLs must be configured directly
within the project's Services settings.
2014-05-17 04:41:12 -04:00
Support to add your commits to the Jira ticket automatically is [available in GitLab EE ](http://doc.gitlab.com/ee/integration/jira.html ).