Find CHILD_WORK_ITEMS in a Follow up (extends AbstractService implements IOperationParticipant)
Paulino Alonso (38●12●15)
| asked Jul 30 '12, 8:30 a.m.
edited Jul 31 '12, 11:57 a.m. by Jared Burns (4.5k●2●9)
Hello,
I need find CHILD_WORK_ITEMS ...(only by AbstractService ) I am trying this code: IWorkItemReferences ref= workItemServer.resolveWorkItemReferences((IWorkItemHandle)workItem, monitor); if(ref.hasReferences(WorkItemEndPoints.CHILD_WORK_ITEMS)){ List<IReference> listChildReferences = ref.getReferences(WorkItemEndPoints.CHILD_WORK_ITEMS); //Always listChildReferences.size()=0..??? //no works for (IReference reference: listChildReferences){ //get wi child id //find wi by id } } =========== List<IEndPointDescriptor> auxList= ref.getTypes(); //ONLY i can extract the display names....I need the wi child objects... thanks |
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Jul 31 '12, 6:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Paulino,
maybe the code here helps? http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ |
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.