Help us learn about your current experience with the documentation. Take the survey.
Pivotal Tracker
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Pivotal Tracker 集成会将提交消息作为评论添加到 Pivotal Tracker 的故事中。
启用后,系统会检查提交消息中是否包含方括号,括号内包含井号后跟故事 ID(例如 [#555])。找到的每个故事 ID 都会添加该提交评论。
你也可以使用包含 fix [#555] 的消息来关闭一个故事。
你可以使用以下任意词汇:
fixfixedfixescompletecompletescompletedfinishfinishedfinishesdelivers
在 Pivotal Tracker API 文档中了解更多关于 Source Commits endpoint 的信息。
另请参阅 Pivotal Tracker 集成 API 文档。
设置 Pivotal Tracker
在 Pivotal Tracker 中,创建一个 API token。
在 GitLab 中完成以下步骤:
- 在左侧边栏,选择 Search or go to 并找到你的项目。
- 选择 Settings > Integrations。
- 选择 Pivotal Tracker。
- 确保 Active 开关已启用。
- 粘贴你在 Pivotal Tracker 中生成的 token。
- 可选。若要将此设置限制到特定分支,请在 Restrict to branch 字段中列出这些分支,用逗号分隔。
- 可选。选择 Test settings。
- 选择 Save changes。