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

Adding space at end of JQL in a saved filter breaks the Save button

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 7.5.4, 7.7.0, 7.6.2, 7.8.0
    • JQL, Navigation - Filters

    Description

      Summary

      When a filter is changed and saved, you will see a 'Save as' button to duplicate the filter. When you modify a saved filter, add a trailing space to the JQL query, run the query, and click on the 'Save' button; the filter is saved but the 'Save' button remains. You will receive a pop-up that indicates that the filter was saved, but you can no longer duplicate the filter because the 'Save as' button is not displayed.

      Steps to Reproduce

      1. Create a filter
      2. Open the filter and modify the JQL to add a space to the end of the query
      3. Run the query
      4. Click the Save button
      5. Note that you receive a success message, but the Save button remains
      6. Remove the space at the end of the query
      7. Run the query
      8. Click the Save button
      9. Note that the 'Save as' button is displayed

      Expected Results

      The trailing space should either be ignored or the advanced query logic should throw a warning/error blocking the query from running until the space is removed.

      Actual Results

      The filter is saved with the space, and the Save button doesn't display correctly

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asweeten ASweeten
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: