Reputation: 559
Been reading and googling around for a while and I've found enough information and run enough tests to verify that Gitlab is able to integrate with Redmine and JIRA for issue tracking, but what about bugzilla? The Gitlab external issue tracking document mentions bugzilla as one of the available systems it can communicate with, but so far I've been unable to find which configuration options to set in order to enable it. What am I missing?
Upvotes: 8
Views: 6176
Reputation: 64
GitLab now has Bugzilla as an external issue tracker option without having to modify your gitlab.yml
file.
Go to your admin or project's Settings > Services > Bugzilla and fill in the project_url
, issue_url
, and new_issue_url
from your instance of Bugzilla. Note that the issues_url
needs to have :id
at the end of the URL. This ID is used by GitLab as a placeholder to replace with the issue number if mentioned in a comment or commit message.
See below for official docs:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/external-issue-tracker.md
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/project_services/bugzilla.md
Upvotes: 3
Reputation: 559
To clarify, here are the gitlab.yml
changes that would work for Bugzilla:
issues_tracker:
bugzilla:
title: "Bugzilla"
project_url: "http://BUGZILLA_URL/describecomponents.cgi?product=:issues_tracker_id"
issues_url: "http://BUGZILLA_URL/show_bug.cgi?id=:id"
new_issue_url: "http://BUGZILLA_URL/enter_bug.cgi?product=:issues_tracker_id"
Now I just need to figure out how to put this is gitlab.rb so I dont have to apply the changes after every gitlab-ctl reconfigure
.
Upvotes: 11
Reputation: 1328312
The only configuration mentioned in doc/integration/external-issue-tracker.md
is the External Issues Tracker section of the gitlab.yml
configuration file.
I suspect it depends how bugzilla expect its bugzilla url to be presented by GitLab
## If not nil, link 'Issues' on project page will be replaced with this
What follows should be bugzilla urls, using GitLab placeholder values like :issues_tracker_id
or :project_id
.
This question mentions GitZilla, but without much success.
Upvotes: 1