Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



One answer

Permanent link

 Afaik you use


// change the type
IWorkitemCommon.updateWorkItemType(workingCopy.getWorkItem(), fNewType, fOldType, getMonitor());

0 votes

Comments

There are examples for more or less the whole work item API here: https://github.com/jazz-community/work-item-command-line 

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,220

Question asked: Mar 23 '21, 7:44 a.m.

Question was seen: 1,078 times

Last updated: Mar 23 '21, 12:02 p.m.

Confirmation Cancel Confirm