When doing request type searches via the Service Desk Portal page. We found that a significant amount of time is spent in:

      base.AbstractJQLRequestTypeSearchAlgorithm.getRequestTypeSearchResults
      basic.BasicRequestTypeSearchAlgorithmTwo.findRequestTypes
      

      Part of that call results in these queries:

      42.9% - 5,207 ms - 4,336 hot spot evt. select "AO_54307E_GROUPTOREQUESTTYPE"."GROUP_ID", "AO_54307E_GROUP"."GROUP_NAME", "AO_54307E_GROUPTOREQUESTTYPE"."REQUEST_TYPE_ID" from "AO_54307E_GROUPTOREQUESTTYPE" "AO_54307E_GROUPTOREQUESTTYPE" join "AO_54307E_GROUP" "AO_54307E_GROUP" on "AO_54307E_GROUPTOREQUESTTYPE"."GROUP_ID" = "AO_54307E_GROUP"."ID" join "AO_54307E_VIEWPORTFORM" "AO_54307E_VIEWPORTFORM" on "AO_54307E_GROUPTOREQUESTTYPE"."REQUEST_TYPE_ID" = "AO_54307E_VIEWPORTFORM"."ID" where "AO_54307E_VIEWPORTFORM"."VIEWPORT_ID" = ?
      
      • This is removed since 3.2.0, which should improve performance.

      A second part to this is that it was found that the method "hides" pagination from it by querying next page when needed. This results in multiple redundant searches of request types and redundantly load associated objects (i.e. portal) for each request type for each search.

      • This is fixed with 3.2.0

            [JSDSERVER-4199] Request Types Search Improvement

            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2304713 ] New: JAC Bug Workflow v3 [ 3125090 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 2058644 ] New: JSD Bug Workflow v5 - TEMP [ 2304713 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2056368 ] New: JSD Bug Workflow v5 [ 2058644 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 1955851 ] New: JSD Bug Workflow v5 - TEMP [ 2056368 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v4 [ 1615195 ] New: JSD Bug Workflow v5 [ 1955851 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: cqt New: affects-server cqt
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v2 [ 1602503 ] New: JSD Bug Workflow v4 [ 1615195 ]
            Owen made changes -
            Workflow Original: JSD Bug Workflow [ 1590778 ] New: JSD Bug Workflow v2 [ 1602503 ]
            Marty (Inactive) made changes -
            Component/s New: Request Type Configuration [ 38693 ]
            Trey Brisbane (Inactive) made changes -
            Labels New: cqt

              Unassigned Unassigned
              dchan David Chan
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: