Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-11070

Document Generator renders Fix Versions empty on Test Execution when the template iterates Test Runs

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Waiting Approval
    • High
    • Resolution: Unresolved
    • Xray Cloud 16.24.0
    • None
    • Document Generator
    • None
    • Xray Cloud 16.24.0

    • UNCOVERED

    Description

      Description
      When a Document Generator template iterates Test Runs, the Fix Versions mappings (${FixVersions}, ${FixVersionsList}) render empty for the Test Execution, even though Fix Version/s is set on the issue. Other issue fields in the same template render fine and no error is shown.

      Pre-conditions

      • A Test Execution with a version in Fix Version/s and some Tests
      • A template with ${FixVersionsList} at issue level and a # {for testruns}

        block

      How to reproduce

      1. Upload the template to Document Generator.
      2. Export the Test Execution from the Test Execution board or a Testing Board.
      3. Check the Fix Versions cell in the output.

      Actual result
      Fix Versions is empty. The same Test Execution exported with a template without the Test Runs loop shows the version.

      Expected result
      Fix Versions render the Test Execution value whether or not the template iterates Test Runs.

      Version

      • Xray Cloud 16.24.0

      Workaround
      Edit Fix Version/s on the affected Test Execution so Jira registers a change (remove and re add the version, or add a temporary one and remove it), save with the final value and export again. Needs to be done per Test Execution.

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              joao.silva João Silva
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: