I\'m creating a work item migration application from \"something\" to TFS 2013, and I want to have the TFS work items to be in corresponding workflow states as in source sys
Ok, folks, as it often happens, the answer is in manual. Let me explain.
The article I referenced in my question clearly states:
You need to be a member of the Project Collection Service Accounts
But it doesn't mention that you can't easily add the user or group to Project Collection Service Accounts
. If you try to do this via web access, you'll fail - the Add button is simply disabled. Besides, the screen shot is misleading, showing an account as a member of Project Collection Administrators group
.
By default, the Project Collection Service Accounts group
contains a single group called Team Foundation Service Accounts
. And this is the group you should add the account to. This can be done with the help of console application called TFSSecurity.exe:
TFSSecurity.exe /g+ "Team Foundation Service Accounts" "Domain\my-service-account" /server:http://mytfsserver:8080/tfs
This is explained in detail in this article, which describes exactly my case with the correct resolution. The TFSSecurity.exe can be found at the following location: %ProgramFiles(x86)%\Microsoft Visual Studio \Common7\IDE (e.g C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE)