In the standard reports that come with SpiraTeam, we have the 'Detailed' reports that are designed to include a primary artifact (e.g. requirements) and then include tables that display lists of related items (e.g. Tasks, Incidents, etc.). By default, we only show some of the fields in these tables. This article explains how to display the value of specific custom fields in the tables when you customize the standard reports.

The Standard Reports

If you run the Requirements Detailed Report (for example), you will see sub-sections for each requirement that show the linked artifacts to that requirement:

Now we don't show all of the fields for the incidents, test cases or requirements because there would not be enough room to add the columns to the document and still fit on the page.

Customizing the Report

Following the general instructions in our article "Writing Custom Reports with Spira", you can easily modify the XSLT template to display a scalar custom field (e.g. Text, Number, Decimal, etc.) or list-based field by using the field name:

  • Custom_01 = Custom Property #1
  • Custom_02 = Custom Property #2

So the XSLT you would use would  be as follows:

                  <xsl:value-of select='CustomProperties/CustomProperty[Name="Custom_01"]/Value'/> 
                  <xsl:value-of select='CustomProperties/CustomProperty[Name="Custom_02"]/Value'/> 

That will display the value of the text and list custom fields:


Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 6/2/2017
  • Article ID: KB256
  • Views: 5706