1. Bugzilla Service
原文:https://docs.gitlab.com/ee/user/project/integrations/bugzilla.html
2. Bugzilla Service
导航到Integrations 页面 ,选择Bugzilla服务,然后按照下表中的说明填写所需的详细信息.
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` | 链接到此 GitLab 项目的 Bugzilla 项目中问题的 URL. 请注意, `issues_url`在 URL 中需要`:id` . GitLab 使用此 ID 作为占位符来替换问题编号. |
`new_issue_url` | 这是在 Bugzilla 中为与此 GitLab 项目链接的项目创建新问题的 URL. 请注意,在`new_issue_url`中, `new_issue_url`要求使用产品/项目名称更新 PRODUCT_NAME. |
配置并启用 Bugzilla 后,您将在 GitLab 项目页面上看到 Bugzilla 链接,该链接将您带到相应的 Bugzilla 项目.
2.1. Referencing issues in Bugzilla
Bugzilla 中的问题可以通过两种替代方式进行引用:
#<ID>
,其中<ID>
是数字(示例#143
).<PROJECT>-<ID>
,其中<PROJECT>
以大写字母开头,然后是大写字母,数字或下划线,并且<ID>
是数字(示例API_32-143
).
如果您同时启用了内部和外部问题跟踪器,我们建议使用更长的格式. 如果您使用较短的格式,并且内部问题跟踪器中存在具有相同 ID 的问题,则内部问题将被链接.
请注意, <PROJECT>
部分将被忽略,链接始终指向issues_url
指定的地址.
2.2. Troubleshooting
要查看最近的服务挂钩交付,请检查服务挂钩日志 .