You can see a list of software requirements by using the PRRequirement query
in the IBM® Rational® RequisitePro® schema
available to you in the samples installed with Rational Publishing Engine: %RPE_HOME%\source\XML\examples\RequisitePro.xsd
For each PRRequirement, you can extract all of
the child requirements, and for each child requirement, extract its
child requirements without adding each query to your template.
Instead of adding each of these following queries:
- [$1] Project/Requirements/PRRequirement to
extract the PRRequirements.
- [$2] $1/Children/Relationship/RelatedReq to
extract child requirements of each PRRequirement.
- [$3] $2/Children/Relationship/RelatedReq to
extract child requirements of each child requirement of each PRRequirement.
You can construct one query for these requirements automatically:
- Add the Project/Requirements/PRRequirement/Children/Relationship/RelatedReq query
to an element.
- Add values to the Recursive Level and Recursive Segments properties:
- Run the report to test.
On running the report, these queries
are included:
If you find that the number entered for the
Recursive
Segments property is higher than the number of segments
that the query contains, you can use one of these two options to resolve
the issue:
- Select the element that has the Recursive Segments property
applied. In the Properties view, select the Data tab
and decrease the value for the recursive segments property.
- You can also redesign the query to start from a different parent
query. If your Recursive Segments value is
one segment too high, create a container element and add a query that
is one level higher than the parent query of the existing element.
Then move the existing element into the container element.