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

How to unlink a child work item from parent workitem using server side Plugin.

Hii,
I had created child workitems based on count attribute using server side plugin. Now I need to unlink 2 of the chaild work items from parent workitem using serverside plugin can anyone suggest. Its an urgent requerment to do please suggest.
Thanks in advance.

Thank you,
Regards,
Pavan m.

0 votes


Accepted answer

Permanent link
As far as I can tell, https://rsjazz.wordpress.com/2016/10/24/using-the-work-item-server-api-to-create-work-items/ explains how to add a reference. To remove a reference you would use

sourceReferences.remove(reference)
    

and then use saveWorkItem3()  to save the item and its references.
Pavan M selected this answer as the correct answer

0 votes

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

Question asked: May 17 '21, 2:55 a.m.

Question was seen: 340 times

Last updated: May 17 '21, 9:04 a.m.

Confirmation Cancel Confirm