简体   繁体   English

如何在JIRA中添加git commits

[英]How to add git commits in JIRA

If I have added some commits in git repository , How would I see those commits in linked JIRA story ? 如果我已经在git仓库中添加了一些提交,那么如何在链接的JIRA故事中看到这些提交?

If I have some code repository in GIT say "ABC" and I have account in JIRA for logging bugs , story and test. 如果我在GIT中有一些代码存储库,请说“ ABC”,并且我在JIRA中拥有用于记录错误,故事和测试的帐户。 I have created some test case (say some JIRA id -XXX)and after it I have automated the test case , to track the code of this test case I wanted to see this commits corresponding to JIRA id - XXX 我创建了一些测试用例(例如JIRA id -XXX),然后将测试用例自动化,以跟踪该测试用例的代码,我想查看与JIRA id-XXX对应的提交

Tried way : One way I know is , add the JIRA id in commit message while commit to git then this is automatically comes in commits list under that JIRA id. 尝试的方式:我知道的一种方法是,在将提交到git的提交消息中添加JIRA ID时,这会自动出现在该JIRA ID下的提交列表中。

I am looking for the solution which will allow me to merge the commits later on under that JIRA ID 我正在寻找解决方案,该解决方案允许我稍后在该JIRA ID下合并提交

As far as I know, adding the JIRA ID to the commit message is the only way. 据我所知,将JIRA ID添加到提交消息是唯一的方法。 I don't see any JIRA functionality for adding commits otherwise. 我看不到任何用于添加提交的JIRA功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM