Git关联JIRA的issue

指导文章
http://www.51testing.com/html/30/n-3724930.html
http://{$host_url}/help/user/project/integrations/jira

触发器的关键字 (Closes、Fixes、Resolves),不区分大小写

这里以 SIT 环境作为指导说明

开发修复问题后,执行 git 的代码提交

 $  git add .
 $  git commit -m 'closes RD-46'
 $  git push origin dev-1.0.0.0:sit

完成第3步骤时,对应的 bug 单 RD-46 就会有相应的 git commit 链接,可以跳过去查看修改的内容了

同理,如果将 SIT 代码合并到 UAT,只需要在 comment 处使用关键字,也能达到 UAT 的代码提交效果

posted @ 2018-05-07 19:30  v海神与小周  阅读(9366)  评论(0编辑  收藏  举报