It's all about the answers!

Ask a question

How to fetch the linked artifact of diagram format in RPE_DNG


Anusha Banad (194) | asked Feb 10 '21, 5:45 a.m.

 Artifacts in module A is linked to Diagram Artifacts in Module B


I need the traceability in this format where the linked Artifact is of format diagram.

Slno <o:p> </o:p>

Requirements <o:p> </o:p>

Link from <o:p> </o:p>

<o:p>   </o:p>

<o:p>   </o:p>

<o:p>   </o:p>

<o:p>   </o:p>

<o:p>   </o:p>

<o:p>   </o:p>


Is it possible to extract just the linked use case diagram?

One answer



permanent link
Bartosz Chrabski (3.4k12648) | answered Feb 19 '21, 5:14 a.m.
Anusha,

If you will send request to Reportable DNG API you should fine information about the link types and target artifact.

Under content you should find xml tag called rrm:format. This value specified the format of the target artifact and you should just filter in your report for those links

Example section below

<ds:Link type="Link">
<rrm:title>Specified By</rrm:title>
<ds:linkType>https://domain.com/rm/types/_5dn-S9yUEemZpq2vgCi6Vg</ds:linkType>
<ds:isParentLink>false</ds:isParentLink>
<ds:isChildLink>false</ds:isChildLink>
<rrm:relation>https://domain.com/rm/resources/_22b47tyUEemZpq2vgCi6Vg</rrm:relation>
<rrm:alternative>https://domain.com/rm/resources/_22b47tyUEemZpq2vgCi6Vg</rrm:alternative>
<rrm:identifier>12345</rrm:identifier>
<ds:content>
<rrm:title>SYSTEM REQUIREMENTS</rrm:title>
<rrm:identifier>13686</rrm:identifier>
<rrm:description/>
<rrm:format>Text</rrm:format>
<ds:artifactFormat>System Requirement</ds:artifactFormat>
</ds:content>
</ds:Link>
</ds:content></ds:Link>



Comments
Anusha Banad commented Feb 19 '21, 6:06 a.m. | edited Feb 19 '21, 6:07 a.m.

 I couldnt find the Link tag in the xml code but this is all i got in the code:


Bartosz Chrabski commented Feb 19 '21, 6:08 a.m.

If Your links are base artifact links then try in base artifact.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.