Help us learn about your current experience with the documentation. Take the survey.
Asana
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Asana 集成会将提交信息作为评论添加到 Asana 任务中。
启用后,系统会检查提交信息中是否包含 Asana 任务 URL(例如,
https://app.asana.com/1/12345/project/67890/task/987654)或以 # 开头的任务 ID(例如,
#987654)。找到的每个任务 ID 都会收到该提交评论。
您也可以使用包含以下内容的消息来关闭任务:fix #123456。
您可以使用以下任一词语:
fixfixedfixesfixingcloseclosesclosedclosing
另请参阅 Asana integration API documentation。
设置
在 Asana 中,创建一个个人访问令牌。 了解 Asana 中的个人访问令牌。
在 GitLab 中完成以下步骤:
- 在左侧边栏,选择 Search or go to 并找到您的项目。
- 选择 Settings > Integrations。
- 选择 Asana。
- 确保 Active 开关已启用。
- 粘贴您在 Asana 中生成的令牌。
- 可选。若要将此设置限制到特定分支,请在 Restrict to branch 字段中列出这些分支,并用逗号分隔。
- 可选。选择 Test settings。
- 选择 Save changes。