WorkItem not getting Linked in the buildresult in "include-in-builds" type
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
Nov 13 '20, 7:08 a.m.