Can we do the changes in WorkItem forms in the existing team project
Hi,
When I export process template, do the necessary changes ( like change in bug form layout) and import it back. I don't see the change taking place in the existing team project which has/uses same Process Template. How do make this happen wihtout needing to remove and then add team project.
Thanks,
Anu
Are you importing using the witimport.exe (available with the beta 2 Team Extensibility Kit) or via the Process Template Manager?
If you're using witimport, you might need to restart the app and create a new work item (whichever one you modified - bug, task, etc.) to verify your changes. I know from past experiences that the new form doesn't necessarily load. More often than not it does though.
I've never imported the same template back IN to TS using the Template Manager so don't really know how that would go. The way I've done it (and this works 100%) is export a template using the Template Manager, rename it, make the changes to whichever templates I need (so far Task and Bug entry forms), and then use witimport
witimport /f Task.xml /t teamfoundationservername /p currentproject like so. It applies the change immediately and new tasks and bugs created use the new templates without a hitch. Existing tasks can be updated with more information if warranted.
Thanks for the reply James,
When I try using witimport.exe I get the below error, I am not sure what I'm doing wrong.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ***
embly 'Microsoft.VisualStudio.Currituck.Client, Version=8.0.0.0, Culture=neutral
, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified.
File name: 'Microsoft.VisualStudio.Currituck.Client, Version=8.0.0.0, Culture=ne
utral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.VisualStudio.Currituck.Provision.CommandLineTools.WITImporter.Ma
in(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].