programmatically create link to related artifacts
Hi All,
I am trying to add related artifacts (basically a url) programmatically. But when i try to create link using
ILink link= ILinkFactory.INSTANCE.createLink(WorkItemLinkTypes.RELATED_ARTIFACT, sourceRef, targetRef);
linkManager.saveLink(link, monitor);
it requires source and target reference, which i think is not applicable for related artifact.
Can anyone please help on this...Thanks
regards,
Vijay
I am trying to add related artifacts (basically a url) programmatically. But when i try to create link using
ILink link= ILinkFactory.INSTANCE.createLink(WorkItemLinkTypes.RELATED_ARTIFACT, sourceRef, targetRef);
linkManager.saveLink(link, monitor);
it requires source and target reference, which i think is not applicable for related artifact.
Can anyone please help on this...Thanks
regards,
Vijay