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

JQL search panel is missing when viewing saved filter due to missing Tomcat parameters

    • 7.12
    • 36
    • Severity 2 - Major
    • 1,226
    • Hide
      Atlassian Update – 21 December 2018

      Dear Jira users,

      We’re glad to announce that this issue will be addressed in our upcoming 8.0 release.

      You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588

      Looking forward to your feedback!

      Kind regards,
      Syed Masood
      Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 21 December 2018 Dear Jira users, We’re glad to announce that this issue will be addressed in our upcoming 8.0 release. You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588 Looking forward to your feedback! Kind regards, Syed Masood Product Manager, Jira Server and Data Center

      Summary

      JQL search panel is missing when viewing custom filter.

      Symptoms

      <Jira>/rest/api/2/filter/favourite?expand=subscriptions[-5:] endpoint responds with http code 400

      Steps to reproduce

      1. Install Jira 7.12.2
      2. Create sample project
      3. Save filter with any JQL
      4. Go to saved filter

      Expected result

      Page shows JQL on top of the issue list and issue view

      Actual result

      JQL panel is missing.

      Workaround

      1. Open configuration file server.xml (should be in conf directory)
      2. Find all connectors your application is using
      3. Add relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>" to properties for example: 
        <Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>
      4. Restart Jira
        See KB for full details: changing server.xml to handle requests with special characters

      If you have multiple connectors in Jira, add the new parameters to each connector.

      Notes

      Cause of the issue is new version of Tomcat (8.5.32) which was updated in 7.12.2.

            [JRASERVER-67974] JQL search panel is missing when viewing saved filter due to missing Tomcat parameters

            With Jira server 8.20.2, I see this change to relax the characters for the default HTTP connection, but you overlooked the HTTPS connection, so we're still having to manually fix up the misconfigured Tomcat startup error.

            Bryan Bridges added a comment - With Jira server 8.20.2, I see this change to relax the characters for the default HTTP connection, but you overlooked the HTTPS connection, so we're still having to manually fix up the misconfigured Tomcat startup error.

            eneis added a comment -

            eneis added a comment - https://getsupport.atlassian.com/browse/GHS-228369

            Ashton Prince added a comment - - edited

            We updated our Jira from 8.0.2 to 8.3.1 hoping to fix the issue but with no change.  Our server.xml matches the workaround example and restarting didn't fix the issue.  Tomcat version: Apache Tomcat/8.5.40, running on Windows Server 2016

            The issue occurs with all JQL queries, including using the basic editor.  It can be easily replicated by creating a new query and saving the query.  When the filter is saved, the JQL & basic editors both disappear.  A quick look in the dev console shows that the editor section has a hidden tag in the styles. This remains true for Chrome, Edge and Firefox.

            Possibly related, the saved filters on the left sidebar cannot find favorited filters as show in the following screenshot where there should be 4 favorited filters.

             

            Edit: permission denied for the screenshot

            Ashton Prince added a comment - - edited We updated our Jira from 8.0.2 to 8.3.1 hoping to fix the issue but with no change.  Our server.xml matches the workaround example and restarting didn't fix the issue.  Tomcat version: Apache Tomcat/8.5.40, running on Windows Server 2016 The issue occurs with all JQL queries, including using the basic editor.  It can be easily replicated by creating a new query and saving the query.  When the filter is saved, the JQL & basic editors both disappear.  A quick look in the dev console shows that the editor section has a hidden tag in the styles. This remains true for Chrome, Edge and Firefox. Possibly related, the saved filters on the left sidebar cannot find favorited filters as show in the following screenshot where there should be 4 favorited filters.   Edit: permission denied for the screenshot

            Hannah Calkins added a comment - - edited

            I am not in a position to implement the workaround suggested.  The JQL for my filter is just two project categories ("Research Data Contribution" and "Reference Cohort Contribution") though it should be noted I am having this problem with every custom filter I create, as are others who try to run the filter when I make it a shared one.  My organization has opened a ticket that I believe has screenshots & more information SDS-43493.

             

            Also- I can't actually provide the exact JQL for the filter because as part of the issue I can't view any of the JQL for my filters.  

            Hannah Calkins added a comment - - edited I am not in a position to implement the workaround suggested.  The JQL for my filter is just two project categories ("Research Data Contribution" and "Reference Cohort Contribution") though it should be noted I am having this problem with every custom filter I create, as are others who try to run the filter when I make it a shared one.  My organization has opened a ticket that I believe has screenshots & more information SDS-43493.   Also- I can't actually provide the exact JQL for the filter because as part of the issue I can't view any of the JQL for my filters.  

            Hi calkinsh,
            Did you try to apply workaround mentioned in description?
            If yes and it doesn't help, could you provide JQL of your filter? It will help us to find reason why this bug still occurs.

            Cheers,
            Paweł Przytarski,
            Jira Bugfix Team

            Pawel Przytarski added a comment - Hi calkinsh , Did you try to apply workaround mentioned in description? If yes and it doesn't help, could you provide JQL of your filter? It will help us to find reason why this bug still occurs. Cheers, Paweł Przytarski, Jira Bugfix Team

            I am experiencing this issue on 8.1 - JQL input is missing when running saved filters.  

            HANNAH CALKINS added a comment - I am experiencing this issue on 8.1 - JQL input is missing when running saved filters.  

            just upgraded to versiono 8.1 and having the same issue. 

            Noel Prasad added a comment - just upgraded to versiono 8.1 and having the same issue. 

            Facepalm.

             

            Really. Why fix bugs in your program when you can fuck up the entire configuration file with crutches.

            Tony Montana added a comment - Facepalm.   Really. Why fix bugs in your program when you can fuck up the entire configuration file with crutches.

            I removed all filters from my Favorites list except for 1 with a simple name.  The Favorite Filters started to display correctly.  I then started adding to my Favorites filters created by me and my colleagues, specially those with special characters in their names.  At this point the Favorite Filters displayed correctly.

            Our issue seems to have been resolved. 

            Thanks!

            Doods Perea added a comment - I removed all filters from my Favorites list except for 1 with a simple name.  The Favorite Filters started to display correctly.  I then started adding to my Favorites filters created by me and my colleagues, specially those with special characters in their names.  At this point the Favorite Filters displayed correctly. Our issue seems to have been resolved.  Thanks!

            We had this issue in 7.12.2 and upgraded to 7.13.0 which fixed this for a short time.

            We are now having these issues again in 7.13.0, any thoughts?

            Daniel Williams added a comment - We had this issue in 7.12.2 and upgraded to 7.13.0 which fixed this for a short time. We are now having these issues again in 7.13.0, any thoughts?

              psuwala ΞΔ (Inactive)
              pczuj Przemyslaw Czuj
              Affected customers:
              22 This affects my team
              Watchers:
              97 Start watching this issue

                Created:
                Updated:
                Resolved: