我有一个YouTrack和TeamCity服务器,它们被正确地配置为可以相互集成。我将我的工作提交给TeamCity监视的GitHub。这样做的目的是允许我提交更改,并在这些提交中包含更新我所处理的问题的YouTrack命令。
我面临的问题是,当我像下面这样提交git时:
Fix appearance of content tip edit icon.
[FIXED] Tip on storage type passwords had a missing edit icon.
#MP-5 fixedGIT去掉了最后一行,因为它看起来像注释,而提交消息只包含以下内容:
Fix appearance of content tip edit icon.
[FIXED] Tip on storage type passwords had a missing edit icon.这意味着,没有YouTrack命令,也没有问题更新。
我继续尝试其他方法,例如:
Fix appearance of content tip edit icon.
[FIXED] Tip on storage type passwords had a missing edit icon.
MP-5 fixed和
Fix appearance of content tip edit icon.
[FIXED] Tip on storage type passwords had a missing edit icon.
- #MP-5 fixed但是这些并没有触发YouTrack命令(即使YouTrack确实看到了提交消息)。
所以问题基本上是:
如何解决此工作流问题?请注意,我不想在GIT中禁用注释剥离,因为这会破坏git提交-av (它包含了我在注释中所做更改的一个格式良好的比较概述)。我是否必须使用一些解析提交消息的自定义代码来调用YouTrack REST API?以前有没有人这样做过?
发布于 2012-03-05 16:51:31
您可以使用
Fix appearance of content tip edit icon.
[FIXED] Tip on storage type passwords had a missing edit icon.
^MP-5 fixed它应该按照http://youtrack.jetbrains.com/issue/JT-10051来工作
https://stackoverflow.com/questions/9512772
复制相似问题