JIRA 智能提交的确切格式

问题描述 投票:0回答:2

我已阅读:

https://confluence.atlassian.com/fisheye/using-smart-commits-298976812.html

我理解提交消息如何:

This is the subject line

This is the body. There might be several lines here
as per good git commit message formatting.

ABC-1234 #close All fixed

将关闭 jira 问题

ABC-1234
,并显示消息“全部已修复”。

但是这些智能提交工作所需的确切格式是什么?提交消息中的一行是否可以像下面这样工作:

[ABC-1234] #close All fixed

如果一行不以

ISSUE_KEY
开头,则可以执行以下操作:

Jira-Smart-Commit: ABC-1234 #close All fixed

有什么地方我可以得到有效的确切定义吗?

git jira atlassian-fisheye
2个回答
1
投票

智能提交的格式如下

  <ignored text> <ISSUE_KEY> <ignored text> #<COMMAND> <optional COMMAND_ARGUMENTS>

因此您无需将问题键放在行首。

我们目前正在修改文档,因此您可能会比上次查看时找到更多信息

https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits


0
投票

语法:

<ignored text> ISSUE_KEY <ignored text> #comment <comment_string>
Changes for JIRA Id LOANDEV-165320 #comment:Initial Commit for Employee Project

参考这里

© www.soinside.com 2019 - 2024. All rights reserved.