What causes Report Builder to return null when DNG attribute is not null
We have a string attribute in DNG called Paragraph Reference which stores the section number that the requirement artifact is located in. We have this attribute in two modules, child module and parent module. I've configured Report Builder to generate a trace from the child requirement artifact to the parent requirement artifact. I've set the report up to display the paragraph reference for the child requirement artifact, and the parent requirement artifact. The Paragraph Reference for the parent requirement artifact is returned properly, but the Paragraph Reference for the child requirement artifact returns null despite the attribute being populated in DNG.
One answer
Hi John,
It is difficult to answer correctly, but I suspect there is a mixup between base artifact and module artifact. Base artifact and module artifact has same id but can have different attribute value, which often cause confusion.
https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.6/com.ibm.rational.rrm.help.doc/topics/c_base_artifact.html
Can you check if you can see the correct attribute in DNG UI by tracing the link?
Comments
Carol Watson
May 16 '19, 12:58 p.m.Hi John,
John Loriz
May 16 '19, 1:17 p.m.Hello, Carol.
I had one of my engineers create a javascript to allow the user to decide whether they wanted to have the Paragraph Reference attribute contain the heading number only, the heading text only, or the heading number and text. The script then processes the artifacts within the module collection to determine which section heading the requirements are contained in and then populates the attribute with that information. I'm not familiar with javascript, so I can't give you any further details. Sorry.