Saving Workitem references
Hi
I'm creating and saving WI references as follow on the client side, however I don't find a correspond method (on the client side) for wc = (IWorkItem) workItem.getWorkingCopy(); Thank you for your help, |
One answer
On 3/29/10 8:37 PM, eclipsetalk wrote:
Hi You can find an example of how to create a link on the client side in https://jazz.net/wiki/bin/view/Main/ProgrammaticLinkCreation Basically, you get the references from the working copy itself: protected void execute(WorkItemWorkingCopy workingCopy, IProgressMonitor monitor) throws TeamRepositoryException { IItemReference reference= IReferenceFactory.INSTANCE.createReferenceToItem(workItem1); workingCopy.getReferences().add(WorkItemEndPoints.CHILD_WORK_ITEMS, reference); } -- Regards, Patrick Jazz Work Item Team |
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.