Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-29544

JQL search - Jira Cloud doesn't allow to use [text ~ "*"] or [text ~ "?"] and we don't display any warning only log

    XMLWordPrintable

Details

    • c56e95ab5aaa5b520db5f7af4dd3ed8702c717db9ac4b77a4da7c5baa3cf415318ef8f3a17533728972224138d45ab39349fa40f27c3b643936e288289b2459b
    • ExtPlatform
    • BigPicture, BigPicture Enterprise, BigGantt
    • JIRA cloud
    • 5
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • Sprint 2020/25, Sprint 2020/26, Sprint 2020/27 SIW, Sprint 2020/28, Sprint 2021/01, Sprint 2021/02, Sprint 2021/03 SIW
    • PI2021/1
    • 5 weeks, 5 days, 2 hours, 14 minutes, 3 seconds
    • 4 hours, 55 minutes, 33 seconds
    • 2 days, 17 hours, 55 minutes, 42 seconds
    • 3 days, 18 hours, 48 minutes, 2 seconds
    • 2 hours, 56 minutes, 43 seconds
    • 2 hours, 17 minutes, 8 seconds
    • 1 week, 4 days, 23 hours, 57 minutes, 47 seconds

    Description

      Steps to reproduce:

      1. Create a new box with a scope type own
      2. Go to box configuration -> tasks -> scope definition
      3. Add any project with issues and click the save button
      4. Goto any module with the search bar and input JQL:
        project = {"PROJECT NAME"} AND text ~ "*"

        or

        text ~ "*"

      Actual result:

      • A validation error not displayed for the user
      • At Warn level information is added to log with stacktrace and error token

      Expected result:
      JQL not working, and the User receives the error message that is taken from the JQL validation exception: "The text query '?' for field 'text' is not valid: the '*' and '?' are not allowed as the first character in wildcard query."
      Note:

      • "*" can be also "?"
      • problem appears on JiraCloud

      Attachments

        Activity

          People

            dmytro.lumelskyj Dmytro Lumelskyj
            dmytro.lumelskyj Dmytro Lumelskyj
            system.jenkins Jenkins , kamil.harasimiuk Kamil Harasimiuk , system.gerrit Gerrit , jakub.pierzchlewicz Jakub Pierzchlewicz (Inactive) , jakub.zygmunt Jakub Zygmunt , pawel.guz Pawel Guz , dmytro.lumelskyj Dmytro Lumelskyj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: