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 (63.1k●3●36●45)
| 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
Ralph Schoon
commented Mar 23 '21, 12:02 p.m.
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 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.