Design traceability within SpiraTeam - how?

1 hour 49 minutes ago
Avatar

For a project in regulated environment I need to create a custom report showing that the requirements are propagating through software design and software architecture.

To achieve this, in the software Requirements Artifact area I've created the following structure:

SRS
   Requirement 1 
   Requirement 2
   Requirement 3
SAD
   Architecture 1
   Architecture 2
SDD
   Design 1
   Design 2
   Design 3
   Design 4

The Requirements artifacts got Component set to "Requirements", Architecture ones are "Architecture" and Design ones are set to "Design".

 

This is the report I want to get in the end:

RequirementsArchitectureDesign
Requirement 1Architecture 1Design 1
Design 2
Requirement 2 Design 3
Requirement 3Architecture 2Design 4

 

This way I could easily check if there is a gap in design traceability (it would be even nicer if I could paint the empy cell in a different colour, but can live without it).

Question -how can I achieve that? I understand that I need somehow to access the component record of the linked artifact, but not quite sure how?  

Can you please help me to change the code below so that it'll work as intended?

<td>               
     <xsl:value-of select="Name"/>             
</td>             
<td>               
     <xsl:if test="Requirements/ArtifactLink">                 
          <xsl:for-each select="Requirements/ArtifactLink">                     
               <xsl:if test="position() > 1 and ArtifactLink/Component = Architecture">, <br /> </xsl:if>                   
               <xsl:value-of select="ArtifactLinkTypeName"/>                 
          </xsl:for-each>               
     </xsl:if>             
</td>             
<td>               
     <xsl:if test="Requirements/ArtifactLink">                 
          <xsl:for-each select="Requirements/ArtifactLink">                     
               <xsl:if test="position() > 1 and ArtifactLink/Component = Design">, <br /> </xsl:if>                   
               <xsl:value-of select="ArtifactLinkTypeName"/>                 
          </xsl:for-each>               
     </xsl:if>             
</td>     

 

0 Replies

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: 1 hour 49 minutes ago
  • Last Reply: 1 hour 49 minutes ago
  • Replies: 0
  • Views: 9