2012-07-09 83 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