API to change existing workitem type
![]() Hello ,
I want to change existing work item type to delivery type.
IWorkItem provides only getter method getWorkItemType() .
How can we set the type?
|
One answer
![]()
Ralph Schoon (61.5k●3●36●43)
| answered Mar 23 '21, 12:00 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Afaik you use
// change the type
IWorkitemCommon.updateWorkItemType(workingCopy.getWorkItem(), fNewType, fOldType, getMonitor());
Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There are examples for more or less the whole work item API here: https://github.com/jazz-community/work-item-command-line |