2012-07-09 144 views
1

其实它看起来非常简单。我似乎无法整合youtrack和github

这是我做的事情:

  • 已经有Github上
  • 创建“MD-提交者”上Youtrack组,给予管理权限的所有创建于Youtrack一个项目一个项目项目。
  • 将自己加入群组。
  • 创建后提交的Youtrack服务钩与下列选项

url: http://myusername.myjetbrains.com/youtrack 
committers: MB-Committers 
username: root 
password: ****** 
active: True 

使用这些设置,我Test Hook按钮说:Payload sent successfully这意味着,我想,我已经正确设置。

然后,

  • 创建一个问题:MD-2 integration test
  • 提交并推到dev分支评论:#MD-2 Fixed integration-test

在这一点上,我应该能够看到问题状态集到Fixed并查看历史中的提交。但是,没有状态更新,没有提交历史记录

Youtrack和Github上的我的电子邮件地址是一样的,唯一不同的是,在提交时,我使用我的全名而不是我的昵称。

这里是git log结果:

commit 3e91ec7021b2a87a7e4b1b79e0f53e67707e8bf4 
Author: Umur Kontacı <[email protected]> 
Date: Mon Jul 9 21:10:04 2012 +0300 

    #MB-2 Fixed integration-test 

commit 48686795be37aa69ca2dd7b2cd176b57945dc229 
Author: Umur Kontacı <[email protected]> 
Date: Mon Jul 9 21:05:14 2012 +0300 

    #MB-2 fixed integration-test 

commit 8faa55c0589e3d0f91a9988fa5aa60126651ba69 
Author: Umur Kontacı <[email protected]> 
Date: Mon Jul 9 21:04:11 2012 +0300 

    #MB-2 finished integration-test 

commit 4b41acfd17fbeba6b220adaef7b0dd113130a037 
Author: Umur Kontacı <[email protected]> 
Date: Mon Jul 9 20:55:13 2012 +0300 

    [Finished MB-2] integration-test 

该提交的都没有来Youtrack制造。

我在这里错过了什么?

回答

0

尝试使用您的JetBrains帐户登录,而不是根。

2

YouTrack解析GitHub的注释,格式为[some comment text] #issueID <command_1> [command_2] ...[command_n],如this link所述。

经验法则是,任何意见应该放在以前#issueID和确认的YouTrack命令应该的#issueID之后放置

因此,integration-test可能无法在YouTrack中正确确认,因为integration-test只是作为未知的YouTrack命令处理。

一些评论#MD-2固定应该工作,或#MD-2固定标签集成测试可能您的问题改变为固定状态和integration-test标记。

例命令可以在http://confluence.jetbrains.com/display/YTD5/Command+Grammar