Is it possible to derive all workitems planned for a certain iteration through Plain Java Client Libraries?
We are working on a scenario where we have to programmatically fetch all workitems planned for a certain iteration. Is it possible?
We tried traversing through a plan where all workitems specific to that plan(for iteration) were displayed. I am not able to replicate the same through plain java client libraries. I referred the article :
It specifies use of Iteration Plan Client to work with plans which is part of RTC SDK. I imported the library com.ibm.team.apt.common from the SDK too but the classes do not seem to be present. I am using RTC 6.0 SDK.
Any assistance will be helpful.
2 answers
The work items planned for a special iteration can be found using a query as well, by using the team area hierarchy and the iteration and its sub iterations as scope for the query.
Comments
@Ralph Thanks for your response.
Could you help me get started with the team area hierarchy as I haven't worked on this before?
You can find what I know in my blog. For example: https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ and https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/
Moreover, you asked a question on how one can obtain the ranked value of a work item with respect to a plan. The answer is that the ranked value is not stored but rather it is dynamically generated. You also cannot use the Reportable REST API or OSLC to retrieve the ranking value, again, since it is not a value that is stored.