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

High number of custom fields makes issue nav really slow in IE8

      A SearcherModel is being created and added to the SearcherCollection for each custom field, on every search - even for custom fields hidden by context. This is causing JS execution times long enough in IE8 to bring up a "script running too long" error dialog. (Tested with 1000 custom fields)

      A potential fix would be to skip the construction of SearcherModels for hidden custom fields, since they cannot be added to the search anyway. However, the More Criteria sparkler will need to be modified to still allow searching for those custom fields.

      Also investigate additional strategies for improving performance when large numbers of custom fields are visible. Some easy wins:

      • avoiding the use of _.bindAll in SearcherModel
      • check if viewHtml is present before attempting to parse and clean it (viewHtml is not sent from the server if the field does not contain a value, but the code does unnecessary processing attempting to 'clean' this empty value anyway)

            [JRASERVER-30994] High number of custom fields makes issue nav really slow in IE8

            Bugfix Automation Bot made changes -
            Minimum Version New: 5.02
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2829029 ] New: JAC Bug Workflow v3 [ 2921180 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2590998 ] New: JAC Bug Workflow v2 [ 2829029 ]
            Tim Evans (Inactive) made changes -
            Regular Expression Original: Custom\sFields\s*:\s[6-9][0-9][0-9]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1533652 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2590998 ]

            We are having more than 1000 fields and facing slowness in issue nav.

             

            Please reopen this issue to fix the issue for more than 1000 fields

            Ramesh Udari1 added a comment - We are having more than 1000 fields and facing slowness in issue nav.   Please reopen this issue to fix the issue for more than 1000 fields
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: kickass warranty New: affects-server kickass warranty
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 665328 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1533652 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 648731 ] New: JIRA Bug Workflow w Kanban v6 [ 665328 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 453787 ] New: JIRA Bug Workflow w Kanban v6 [ 648731 ]

              delkan David Elkan (Inactive)
              dtang David Tang (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: