How do i access the workitem from a plan through the RTC API
Accepted answer
I finally found the solution.
Used the IIterationPlanService.fetchPlannedWorkItems - gave me the workitems associated with the plan
Identified the ranking attribute of the work items and sorted through that.
Used the IIterationPlanService.fetchPlannedWorkItems - gave me the workitems associated with the plan
Identified the ranking attribute of the work items and sorted through that.
One other answer
From the Plan record, get the iteration handle, then query the workitems with the Planned For set to that iteration.
IIterationPlanRecord pa;
pa.getIteration();
a Plan is a view over exiting data..
People (team) doing work (workitems) over time (iteration)
Ralph has a blog entry on workitem Queries
https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/
IIterationPlanRecord pa;
pa.getIteration();
a Plan is a view over exiting data..
People (team) doing work (workitems) over time (iteration)
Ralph has a blog entry on workitem Queries
https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/
Comments
I need to traverse the plan because i want the order in the plan to be maintained. I cant use the query cos i want to export the order of the ranked list.
the info on workitem rank storage and access is not documented. at this time I am unaware of how to query in ranked order.
one might be able to discover the mechanism by reading the product source code, most provided in SDK, but I have not done this.
I was able to get to the work items for the plan, but the order is not ranked. Can someone suggest how can i get the same order?
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 13 '15, 3:42 a.m.The Plan API is internal as far as I am aware. I know however, that others have done this.