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

JQL removes nested parentheses when saving filter

    XMLWordPrintable

Details

    • 6.03
    • 15
    • Severity 2 - Major
    • 54
    • Hide
      Atlassian Update – 13 September 2023

      Thank you for reporting this issue. In the last weeks we have been working hard on fixing it.

      Summary of the original problem:
      Jira would remove nested parentheses after saving a filter if JQL deemed them to be redundant.
      NOTE: There have been reports that such action can also cause different results to appear, however we weren't able to confirm that internally by replicating JQLs shared by customers.

      New behaviour after the change:

      When new feature is enabled, any user JQL input given, when saved, will preserve any whitespaces and redundant characters as they are, without dropping them unexpectedly. If this behaviour is undesired, this feature can be disabled.
      To disable this feature, follow the instructions on this page: https://confluence.atlassian.com/jirakb/how-to-manage-dark-features-in-jira-959286331.html. The feature flag name is "com.atlassian.jira.rest.search.filter.user.input.preserve".

      Status of the fix and Fix Version:

      The fix is ready, and we're moving the status of this ticket to Waiting for release with Fix Version 9.4.11 and 9.11.2.

      CTA: If you find cases of differing results from JQL query - please share them with us.

      Show
      Atlassian Update – 13 September 2023 Thank you for reporting this issue. In the last weeks we have been working hard on fixing it. Summary of the original problem: Jira would remove nested parentheses after saving a filter if JQL deemed them to be redundant. NOTE: There have been reports that such action can also cause different results to appear, however we weren't able to confirm that internally by replicating JQLs shared by customers. New behaviour after the change: When new feature is enabled, any user JQL input given, when saved, will preserve any whitespaces and redundant characters as they are, without dropping them unexpectedly. If this behaviour is undesired, this feature can be disabled. To disable this feature, follow the instructions on this page: https://confluence.atlassian.com/jirakb/how-to-manage-dark-features-in-jira-959286331.html . The feature flag name is " com.atlassian.jira.rest.search.filter.user.input.preserve ". Status of the fix and Fix Version: The fix is ready, and we're moving the status of this ticket to Waiting for release with Fix Version 9.4.11 and 9.11.2 . CTA: If you find cases of differing results from JQL query - please share them with us.

    Description

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

      When we create a JQL with nested parentheses (like the one from the screenshots), it works fine if we just perform a search.

      However, if we try to save this query as a filter, JIRA removes the nested parentheses. Please see screenshot for more details.

      Thanks!
      -Jose

      Attachments

        1. image-2017-10-19-10-38-58-072.png
          image-2017-10-19-10-38-58-072.png
          17 kB
        2. image-2017-10-19-10-40-07-130.png
          image-2017-10-19-10-40-07-130.png
          14 kB
        3. query.png
          query.png
          147 kB
        4. saved_filter.png
          saved_filter.png
          87 kB

        Issue Links

          Activity

            People

              d996197e70d9 Artur Falborski
              jraupp Jose Raupp (Inactive)
              Votes:
              156 Vote for this issue
              Watchers:
              125 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: