How to query nested Current plans?
I have a similar nested iterations scenario as Question 27273. It looks like:
+TimelineAlpha
+--Iteration1
+----Iteration2
+------Iteration3
Iteration 1 is just for grouping. I have Plans in Iteration2 and Iteration3. Both of these Plans are marked as having a release scheduled. If I set Iteration3 as "Current", then Iteration1 and Iteration2 also get the "Current" pointer due to their lineage.
The Advanced User's Guide to Querying Work Items in Rational Team Concert says when the Planned For variable is set to Current Iteration it means "Starting at all leaf iterations that are set as current in the project area, the Current Iteration variable selects the first ones that have the release scheduled flag set when going up the hierarchy. This corresponds to the iterations that are shown as current in the Work Item Editor."
I interpret that to match the Plan in the Current Iteration and ALL plans up the Iteration ancestry which have the Release Scheduled flag set. But that's not what happens. Only the lowest leaf on the "Current" lineage is matched.
Question 23751 requests a feature to explicitly request the ancestry of the "Current Iteration", but isn't that implied above?
It's interesting that if you chose a specific Iteration in the Planned For query box, you can set the condition to "is part of" which will include the targeted iteration and everything below it.
Bottom line: How do I target ALL of the nested plans/iterations in the "Current" lineage?
+TimelineAlpha
+--Iteration1
+----Iteration2
+------Iteration3
Iteration 1 is just for grouping. I have Plans in Iteration2 and Iteration3. Both of these Plans are marked as having a release scheduled. If I set Iteration3 as "Current", then Iteration1 and Iteration2 also get the "Current" pointer due to their lineage.
The Advanced User's Guide to Querying Work Items in Rational Team Concert says when the Planned For variable is set to Current Iteration it means "Starting at all leaf iterations that are set as current in the project area, the Current Iteration variable selects the first ones that have the release scheduled flag set when going up the hierarchy. This corresponds to the iterations that are shown as current in the Work Item Editor."
I interpret that to match the Plan in the Current Iteration and ALL plans up the Iteration ancestry which have the Release Scheduled flag set. But that's not what happens. Only the lowest leaf on the "Current" lineage is matched.
Question 23751 requests a feature to explicitly request the ancestry of the "Current Iteration", but isn't that implied above?
It's interesting that if you chose a specific Iteration in the Planned For query box, you can set the condition to "is part of" which will include the targeted iteration and everything below it.
Bottom line: How do I target ALL of the nested plans/iterations in the "Current" lineage?
2 answers
If you set the iteration of a plan to the top level Iteration 1, it should show all items for all nested iterations. The same applies if you select the top level project/team are as owner.
Plans hide execution items, so you have to explicitly configure it to show them in the plan details.
As far as I can tell Question 23751 talks about the work item queries and not plans.
If this does not answer your question, I might be missing something and would need more information or a different explanation of your question.
Plans hide execution items, so you have to explicitly configure it to show them in the plan details.
As far as I can tell Question 23751 talks about the work item queries and not plans.
If this does not answer your question, I might be missing something and would need more information or a different explanation of your question.
Comments
Hello Barry:
A RFE we submitted based on your following request is now accepted and is a part of the Product Backlog for RTC.
RFE link : http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=31960
.
This is Related to Work Item : Enhancement: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=228834
A RFE we submitted based on your following request is now accepted and is a part of the Product Backlog for RTC.
RFE link : http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=31960
.
This is Related to Work Item : Enhancement: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=228834