Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab issue tracking integration with Bugzilla

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?

like image 520
tryexceptpass Avatar asked Feb 04 '15 05:02

tryexceptpass


People also ask

Does GitLab have bug tracking?

all tiers. GitLab has an issue tracker, but you can configure an external issue tracker per GitLab project.

What is issues in GitLab?

Issues are a core building block in GitLab that enable collaboration, discussions, planning and tracking of work. Planning an aspect of an event or a campaign.


2 Answers

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.

like image 191
tryexceptpass Avatar answered Sep 18 '22 15:09

tryexceptpass


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

like image 41
iamtjg Avatar answered Sep 21 '22 15:09

iamtjg