It's all about the answers!

Ask a question

WorkItem not getting Linked in the buildresult in "include-in-builds" type

Mahitha Anumukonda (11) | asked Nov 13 '20, 7:04 a.m.

 I am using the below code to create link of the workitem in buildresult  in RTC. But it is not reflecting. Please let me know where am i doing mistake?

ILink linkmanager= (ILinkManager) teamrepository.getclientlibrary(ILinkmanager.class);
Itemreference source= IReferenceFactory.Instance.Createreferencetoitem(workitemhandle);
Itemreferencce target= IReferenceFactory.Instance.Createreferencetoitem(buildresulthandle);
ILink link= linkmanager.createLink(Buildlinktypes.Included_work_items,target,source);

Mahitha Anumukonda commented Nov 13 '20, 7:08 a.m.

 I have also been creating  a short comment to workitemhandle as mentioned in below URL but still it didnt work for me: 

Be the first one to answer this question!

Register or 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.