Thanks for your post. We’re sorry that our engineers cannot repeat the problem. Our engineers prepared 3 kinds of Requirement as attached image,
<> is the original requirement with Text, ID, etc… properties
<> is a new requirement with body property.
<> is a new requirement without any property.
They tried to call the IRequirement.getTaggedValues() first, <> and <> must can return ITaggedValueContainer, <> must return null since it really has no property (taggedValue).
Secondly, they tried to get “Body” from the ITaggedValueContainer, <> and <> also return null, since there really no “Body” property.
May I know is “Body” a property you defined in your own requirement?
If no, please manually add your own requirements via Tool > Configure Requirements. More details can be found at the following link:
If there is any further inquiry, please do not hesitate to contact me.
Hi,
“Body” is a property I defined in my own requirement (via Tool > Configure Requirements).
I tried to call the IRequirement.getTaggedValues() - return ITaggedValueContainer, when I tried to get “Body” from the ITaggedValueContainer - return null, since there really is “Body” property.
It works if I display Tagged Values tab in specification window (Requirement specification -> Attributes) and than
call req.getTaggedValues().getTaggedValueByName(“Body”).