Report formatting issue when requirements imported from Excel

Wednesday, July 13, 2022
Avatar

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:

RQ:2230A Contratada DEVE disponibilizar o código-fonte final do software.
 
RQ:2231

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"/>

          </div>

          <br />

        </xsl:if>

        <xsl:if test="IsSummary='False'">

          <xsl:attribute name="style">

            padding-left: <xsl:value-of select="string-length(IndentLevel)*3"/>px;

          </xsl:attribute>

         <!-- <div class="Title3">

            RQ:<xsl:value-of select="RequirementId"/>

          </div> -->

          <p></p>

           <b>RQ:<xsl:value-of select="RequirementId"/></b>

           <xsl:value-of select="Description" disable-output-escaping="yes"/>

        </xsl:if>

       

        <br />

1 Replies
Wednesday, July 13, 2022
Avatar
re: Renato.certi Wednesday, July 13, 2022

Hi Renato

Please can you submit a support ticket for this: https://www.inflectra.com/Support/Ticket/List.aspx

Regards

David

Statistics
  • Started: Wednesday, July 13, 2022
  • Last Reply: Wednesday, July 13, 2022
  • Replies: 1
  • Views: 202