Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3457

Subquery in 'expression' JQL function isn't necessarily valid when expression script is being validated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • None
    • 5.6.1
    • JQL Functions
    • None
    • 0.8

    Description

      To reproduce:

      • Go to the issue navigator in Advanced mode and enter a JQL query using the expression function with a syntactically incorrect subquery, e.g.:
        issueFunction in expression("project = A B", "reporter == assignee")
        

        (The error in the above is that project names with whitespace need to be enclosed in quotes.)

      • Submit the query.

      Expected: A syntax error message appears for the subquery.

      Actual: A 'compilation failure' error message appears, quoting the syntax error.

      Attachments

        Issue Links

          Activity

            People

              jchoules Joanna Choules
              jchoules Joanna Choules
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: