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);
linkmanager.savelink(link,monitor);


Comments
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: https://jazz.net/forum/questions/134302/i-can-view-build-results-using-the-rtc-eclipse-client-but-not-with-browser-comibmteambuildviewresult 

Be the first one to answer this question!


Register or to post your answer.