debian-mirror-gitlab/doc/user/project/integrations/bugzilla.md

38 lines
2 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
stage: Create
group: Ecosystem
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2017-08-17 22:00:37 +05:30
# Bugzilla Service
2020-04-22 19:07:51 +05:30
Navigate to the [Integrations page](overview.md#accessing-integrations),
2017-08-17 22:00:37 +05:30
select the **Bugzilla** service and fill in the required details as described
in the table below.
| Field | Description |
| ----- | ----------- |
| `project_url` | The URL to the project in Bugzilla which is being linked to this GitLab project. Note that the `project_url` requires PRODUCT_NAME to be updated with the product/project name in Bugzilla. |
| `issues_url` | The URL to the issue in Bugzilla 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. |
| `new_issue_url` | This is the URL to create a new issue in Bugzilla for the project linked to this GitLab project. Note that the `new_issue_url` requires PRODUCT_NAME to be updated with the product/project name in Bugzilla. |
2021-02-22 17:27:13 +05:30
Once you have configured and enabled Bugzilla, you see the Bugzilla link on the GitLab project pages that takes you to the appropriate Bugzilla project.
2017-08-17 22:00:37 +05:30
## Referencing issues in Bugzilla
Issues in Bugzilla can be referenced in two alternative ways:
2019-02-15 15:39:39 +05:30
- `#<ID>` where `<ID>` is a number (example `#143`).
- `<PROJECT>-<ID>` where `<PROJECT>` starts with a capital letter which is
2017-08-17 22:00:37 +05:30
then followed by capital letters, numbers or underscores, and `<ID>` is
a number (example `API_32-143`).
2021-02-22 17:27:13 +05:30
We suggest using the longer format if you have both internal and external issue trackers enabled. If you use the shorter format and an issue with the same ID exists in the internal issue tracker, the internal issue is linked.
2017-09-10 17:25:29 +05:30
2017-08-17 22:00:37 +05:30
Please note that `<PROJECT>` part is ignored and links always point to the
address specified in `issues_url`.
2020-03-13 15:44:24 +05:30
## Troubleshooting
2020-04-22 19:07:51 +05:30
To see recent service hook deliveries, check [service hook logs](overview.md#troubleshooting-integrations).