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

It is not possible to execute JQL queries in JavaScript validations.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Xray DC 8.1.0
    • None
    • Document Generator
    • None
    • Jira 10

    • UNCOVERED

    Description

      It is not possible to execute JQL queries in JavaScript validations.

      Steps to reproduce:

      • Create a docx template with the following mapping: %{'${jqlcount:Project=${Project.Key}}'.equals('0')}
      • Install that templateĀ 
      • Go to an issue and create a new report using the installed template

      Expected result:

      The validation should be displayed correctly

      Actual result:

      The validation is empty.

      Attachments

        Activity

          People

            dpca Diamantino Campos
            rgrr Rui Rocha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: