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

Document Generator is not working with JQL - requirementsWithStatusByTestPlan is not working in the Xray 7.10.4

    XporterXMLWordPrintable

Details

    • OK

    Description

      Description: JQL function requirementsWithStatusByTestPlan() when used in Document Generator template, is not working in 7.10.4, while it works in earlier versions of Xray

      Pre-conditions: Have a Test Plan with a version and the Requirements with the same versions added to the Tests inside the Test Plan.

      How to reproduce

      1. Open a Test Plan and export the Requirements with JQL requirementsWithStatusByTestPlan in the Template.
        For eg: the following Template condition in the Template.
      #{for n=JQLIssuesCount|clause= (fixVersion in ("%{'${FixVersionsList}'.replace(/,\s/g,"\", \"")}") AND project = ${Project.Key} AND issue in ProjectParentRequirements(${Project.Key}) AND issue in requirementsWithStatusByTestPlan("OK",${Key},"","true","",${Project.Key},""))}
      ${JQLIssues[n].Key}    ${JQLIssues[n].Summary}
      #{end} 

      TestPlan Coverage.docx

      1. Perform this export in Xray - 7.10.4 and earlier versions.

      Actual result/Attachments:

      The export fails in 7.10.4. However, the export works in older versions of Xray and exports the Requirement with OK status.

      Expected result:

      The Document Generator export should export the Requirements.

      Version

      • 7.10.4

      Workaround

       

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              jayanthi.murthi Jayanthi Murthi
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: