Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11429

Test Run Attachment mappings is not exported correctly with Document Generator.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC 8.2.2
    • None
    • Document Generator
    • None
    • Jria Server 10.3.13, Windows OS, MS Word for template

    Description

      Description:

      With Document Generator, the Test Run Attachment, the following mapping is not exported.

      @{title=${TestRuns[n].Attachments[a].Name}| href=${BaseURL}/secure/attachment/${ TestRuns[n].Attachments[a].ID}/${ TestRuns[n].Attachments[a].Name}} 
      @{title=${TestRuns[n].TestSteps[r].Attachments[sa].Name}| href=${BaseURL}/plugins/servlet/raven/attachment/${TestRuns[n].TestSteps[r].Attachments[sa].ID}/${TestRuns[n].TestSteps[r].Attachments[sa].Name}}
      

      The export is showing the mappings instead of the hyperlink, but for the Evidence, the mappings are exported as expected.

      Pre-conditions:

      A Test having a Test Step Attachment, Jira Attachment. The same Test has a Test Run with Global and Step Evidence.

      How to reproduce

      1. Use the Document Generator Test Executions Advanced Template to export the Test Execution. XrayTestExecAdvancedWithCoverPage - DC - Apr2024 (2) (1).docx

      Actual result/Attachments:

      The Test Attachment and Test Step Attachment related mappings are exported as mappings themselves while iterating the Test Runs. But the Evidence is exported as expected. 

       

      Expected result:

      The Test and Step attachments mappings are to be exported as hyperlinks, like in the case of Evidence

      Version

      • Xray DC 8.2.2

       

      Attachments

        Activity

          People

            afro Andre Fernandes Rodrigues
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: