Gitlab bug tracking integration with Bugzilla

I read and searched the Internet for a while, and I found enough information and checked enough tests to verify that Gitlab can integrate with Redmine and JIRA to track problems, but what about bugzilla? The Gitlab external problem tracking document mentions bugzilla as one of the available systems with which it can interact, but so far I have not been able to find what configuration parameters should be set to enable it. What am I missing?

+5
source share
3 answers

To clarify, here are the gitlab.yml changes that will 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 install this gitlab.rb, so I don't need to apply the changes after every gitlab-ctl reconfigure .

+7
source

GitLab now has Bugzilla as an option for external error tracking, without having to modify your gitlab.yml file.

Go to your administrator or in Project Settings> Services> Bugzilla and fill in project_url , issue_url and new_issue_url from your Bugzilla instance. Note that issues_url must have :id at the end of the URL. This identifier is used by GitLab as a placeholder to replace with the problem number if it is indicated in the comment or commit post.

See official docs below:

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

+2
source

The only configuration mentioned in doc/integration/external-issue-tracker.md is the External gitlab.yml Tracking section of the gitlab.yml configuration gitlab.yml .

I suspect this depends on how bugzilla expects its bugzilla URL to be provided by GitLab

 ## If not nil, link 'Issues' on project page will be replaced with this 

The following is the bugzilla URL using GitLab values โ€‹โ€‹such as :issues_tracker_id or :project_id .

This question mentions GitZilla , but without much success.

0
source

Source: https://habr.com/ru/post/1212593/


All Articles