2010-07-27 39 views
0

當我從Team Review導入工作項類型,我得到這個錯誤:錯誤而導入工作項類型 - TFS

TF218007: Cannot import the work item type. It changes fields in team projects 
in which you do not have permissions to make changes. Correct this problem by 
changing the definition of the work item type so that it does not change the 
name or reporting behavior of these fields: 
Microsoft.VSTS.Common.StateChangeDate, System.ExternalLinkCount, 
System.HyperLinkCount, System.AttachedFileCount 
Or obtain permissions to make 
changes to these team projects: Project2 
Operation failed. 

我應在WIT定義改變嗎?

回答

0

首先,檢查您是否在「Project2」中擁有管理員權限。如果這不起作用,請導出Project2中的其中一個WorkItemTypes,然後檢查XML。尋找上述領域:

Microsoft.VSTS.Common.StateChangeDate, System.ExternalLinkCount, System.HyperLinkCount, System.AttachedFileCount

並確保在您的WorkItemType的定義相匹配他們。這聽起來像你可能以某種方式刪除或修改了這些字段。

+0

當我試圖將WIT導入到Project1時,爲什麼我需要Project2上的管理權限?另外,我還沒有修改XML。這對於vanilla TFS安裝很有效,但是與我試圖執行的分段安裝相沖突。 – Nick 2010-07-28 13:19:31

+0

看看錯誤消息,它看起來好像是試圖導入Project2,而不是Project1。 – Robaticus 2010-07-28 13:20:35

0

這些字段已經存在於Project1中。您正嘗試將相同的字段導入到Project2中,但使用不同的名稱=「」和reportingtype =「」設置。由於您無權更改Project1中的定義,因此服務器阻止您上傳類型。

你有兩個選擇:

  1. 獲取權限到Project允許你改變你的XML以匹配PROJECT1的設置字段設置
  2. 更改設置。
相關問題