Book a Demo

Author Topic: RTF reports of just requirements  (Read 3383 times)

Laurie White

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
RTF reports of just requirements
« on: January 26, 2010, 09:38:05 am »
I must be doing something simple wrong.  But I've spent hours trying to figure out what to no avail, so can someone help?

I want to create an RTF report of just the requirements in my project.  I also want to include the Requirement type field (so printing all elements, filtered to include just requirements won't work).

I have an RTF template that looks something like:

package >
Requirements - {Pkg.Name}


element >
{Element.Name}
requirement >
Type: {ElemRequirement.Type}
Name: {ElemRequirement.Name}
< requirement
< element
< package

When I generate the report, filtering for requirements, I get:

Req. 1
Req. 2
Req. 3

It's obviously finding my requirements, but not generating any code for the fields in the requirement tags.  (And if I use the type attribute in the element tags, I just get "Requirement" instead of the specialized type.)

So, how am I supposed to be using the requirement tags?  Or is this a bug?

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: RTF reports of just requirements
« Reply #1 on: January 27, 2010, 03:35:01 pm »
If you are using Internal Requirements on say a Use Case this would work.
If you are using External Requirements. The requirement Element has Element.type = "Requirement" the TYPE in the UI is actualy the Stereotype - try using the Element.StereoType in the report - not the section Element::Requirements.type
Check the Whitepaper on Requirements for more details.