Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > Spira Custom Reports > Report formatting issue w...
It seems that when importing requirements from Excel (SpiraImportTemplate2010) there is some hidden formatting that apperas only in the Requirements report, and “Remove Format” button is disabled in Spira for the requirement.
How i get requirements in the report:
A Contratada DEVE fazer um workshop de repasse de tecnologia sobre estrutura e organização do código fonte e uso da solução desenvolvida.
RQ:2232
Testando criação de requisito, ao invés de importar no Excel.
Exmplanation:
RQ:2232 was created directly in Spira. Format in the report looks good.
RQ:2231 was created by import via Excel, but after this was edited in Spira, just to cause another SAVE, no real change. Note: The “Remove Format” button was disabled in the requirement in Spira.
RQ:2229 and 2230 were created by import via Excel. There seems to be a formatting issue because there is no space between “RequirementId” and “Description” but the “Remove Format” button is also disabled in the requirement in Spira.
My report code:
<xsl:template match="/RequirementData">
<xsl:for-each select="Requirement">
<div>
<xsl:attribute name="style">
margin-left: <xsl:value-of select="string-length(IndentLevel)*3"/>px;
</xsl:attribute>
<xsl:if test="IsSummary='True'">
<div class="Title2">
<xsl:value-of select="Name"/> - RQ:<xsl:value-of select="RequirementId"/>
</div>
<div class="Description">
<xsl:value-of select="Description" disable-output-escaping="yes"/>
<br />
</xsl:if>
<xsl:if test="IsSummary='False'">
padding-left: <xsl:value-of select="string-length(IndentLevel)*3"/>px;
<!-- <div class="Title3">
RQ:<xsl:value-of select="RequirementId"/>
</div> -->
<p></p>
<b>RQ:<xsl:value-of select="RequirementId"/></b>
Hi Renato
Please can you submit a support ticket for this: https://www.inflectra.com/Support/Ticket/List.aspx
Regards
David