Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61429

Bad tokenization while applying JQL suggestion in unfinished statement

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Bad tokenization while applying JQL suggestion in unfinished statement

      Steps to Reproduce

      1. Open JQL search
      2. Write incomplete query: "project ="
      3. Place cursor after letter 'p'
      4. Select any suggestion from the list

      Expected Results

      suggestion changes the whole word, i.e. "priority ="

      Actual Results

      suggestion changes only letter 'p': "priorityarent = "

      Notes

      Also reproducible on following queries:

      • "project = "Customer Ops" AND "
      • "project = "Customer Ops" AND assignee "

      Because of the same reason WORKS, while it shouldn't the following query:

      • "project = "Customer Ops" and assAND reporter = currentUser() " -> "project = "Customer Ops" and assigneeAND reporter = currentUser() "

      Works OK if query is complete: "project = "Customer Ops"", "project = "Customer Ops" AND assignee = admin"

      Attachments

        Issue Links

          Activity

            People

              izinoviev Ilya Zinoviev (Inactive)
              izinoviev Ilya Zinoviev (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: