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

Maximum timeout of Favorite Filters gadget is not respected

XMLWordPrintable

      Issue Summary

      Maximum timeout of Favorite Filters gadget is not respected. If setting it as 1000(1 second), JQL query still keep running longer than it, without timeout.

      Steps to Reproduce

      1. Setting Maximum timeout of Favorite Filters gadget to 1000 ms(1 second)
      2. Running a slow JQL query (longer than 1 second)

      Expected Results

      The query will be timeout.

      Actual Results

      It keep running more than 1 second.

      Logs in atlassian-jira-slow-queries.log shows it took '2116' ms to run.

      2021-10-22 17:33:29,239+0900 http-nio-8080-exec-11 INFO admin  /rest/gadget/1.0/favfilters/count [c.a.j.i.search.providers.LuceneSearchProvider_SLOW] ScriptRunner JQL function 'dateCompare' with clause '{issueFunction in dateCompare(, created <= updated)}' took '2116' ms to run
      

      Workaround

      Currently there is no known workaround for this behavior.

            Unassigned Unassigned
            rli@atlassian.com Rick Li
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: