Export Links to Diagrams Visualizing Elements
Export Links to Diagrams Visualizing Elements
It is possible to create a reference between an element and the diagrams, which are visualizing this element. This diagram usage can be represented by a relationship in Jama Connect. For this to work, the diagram that visualizes the element has to be exported to Jama Connect, along with the used element. If you only export the element but not the diagram (or vice versa), the diagram usage reference will not be created.
To export diagram usage references, you have to either use an existing relationship or create a new one.
This relationship has to be mapped to a property called #VisibleOn in the Export Mapping.
For Example:
<mappingRule>
<matchingRule>
<externalProperty name="_objectType" value="SYSARCH" />
<myumlProperty name="_objectType" value="Class" />
</matchingRule>
<properties>
<property external="name" myuml="Name" />
<property external="description" myuml="Documentation" />
<property external='Visible On' myuml='#VisibleOn'/>
</properties>
</mappingRule>
This mapping rule exports a class to System Architect elements in Jama Connect. For this elements, the EA property Name is exported to the element field name and the EA property Documentation is exported to the element field description. Additionally, the diagrams using this element will be referenced using the defined relationship Visible On.