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

Browser performance degraded when customfield has a large number of customfieldoption.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.5.0, 8.13.10, 8.13.13, 8.13.22
    • Issue - Fields
    • None

    Description

      Issue Summary

      The browser's performance degrades when a custom field with a large number of options is added to the screen.

      Steps to Reproduce

      1. Create a "Select List (cascading)" customfield type with more than 500 options
      2. For each of the options, create another 100 options.
      3. Add the customfield to the project's create screen.
      4. Create issue from the "Create" button from the top bar.

      Expected Results

      Create issue screen will immediately appear.

      Actual Results

      The browser will display a spinning icon for few minutes and then the create screen will appear.

      Workaround

      • Reduce the number of custom field options.
      • Split the options into different custom fields.

      Notes

      1. After further investigation, we found that the browser is processing each child options. The browser first retrieves all child options, so that when a user later switches back and forth, the browser doesn't have to keep doing more work. In a sense, this is caching all the results ahead of time.
      2. once the browser retrieves all child options, it has to go through and hide all the child options until the parent is selected.
      3. All the processing work done by the browser is to hide all the child options until the parent is actually selected. The more options there are, the more the browser has to process.
      4. All this is on the browser side, but Jira is generating the script that is handled by the browser.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              astephen@atlassian.com Adrian Stephen
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: