API to change existing workitem type
![](http://jazz.net/_images/myphoto/6b54144b2add01ec3f3fe64eb9ae4c51.jpg)
One answer
![](http://jazz.net/_images/myphoto/6b54144b2add01ec3f3fe64eb9ae4c51.jpg)
Afaik you use
// change the type
IWorkitemCommon.updateWorkItemType(workingCopy.getWorkItem(), fNewType, fOldType, getMonitor());
Comments
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
There are examples for more or less the whole work item API here: https://github.com/jazz-community/work-item-command-line