Copy Workitem between project areas using RTC API
Hi,
Am exploring options to copy workitem programmatically from Project Area A to Project Area B to sync both these stream on workitem save event of project area A .Note that these project areas are configured to serve functional and techncial folks separately.
Have seen some articles that states duplicate workitem first before changing category/field against/project area fields to get copy of workitem and looking for more technical steps to implement this.
Can you help me out on this please.
Thanks,
Suresh .
2 answers
Hi Eric,
In your answer do you mean to say,
Create copy of project area,
Then for "Project Area" attribute of that work item, set required project area using java client api and save work item.
?
I had a look at CopyToProjectAreaOperation class inside public boolean performFinish() method of com.ibm.team.workitem.rcp.ui.internal.wizards.CopyToProjectAreaWizard.
I only picked up that much of code inside performFinish() method, hardcoded all the required parameters that needs to be passed to CopyToProjectAreaOperation constructor, but I could not see work item moved to target project area.
Any suggestions.?