Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to fetch the linked artifact of diagram format in RPE_DNG

 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?

0 votes



One answer

Permanent link
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>


0 votes

Comments

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

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

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 10 '21, 5:45 a.m.

Question was seen: 868 times

Last updated: Feb 19 '21, 6:08 a.m.

Confirmation Cancel Confirm