Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-6444

Backlog Items are displayed in the Parking lot when the Objectives column is enabled and there are more than 100 entries to load

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • No

      Issue Summary

      When the ‘Objectives’ columns are shown in the backlog and there are 4 or more objectives associated with, for example, a feature a javascript error: Uncaught TypeError: Cannot read properties of undefined (reading 'length') which will prevent the complete loading of the features and leave them in the parking lot.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Create more than 100 features (e.g.105) for a chosen program and a PI.
      2. Create at least 4 Program objectives (using the same program and PI as step 1).
      3. Associated the objectives created before with one of the Features (preferably the 101st to 105th one).
      4. From the top navigation bar, select the Program, and select the Program Increment.
      5. Select Backlog from the left navigation menu items.
      6. Select "Feature Backlog" and the result is displayed as expected.
      7. Go to the "Columns Shown" button beside the "Apply Filters" and in the Features tab - select "Objectives" and click on Apply.
      8. Reload the page and scroll down to show the entire list of features.

      Expected Results

      The features after 100 are loaded and displayed under Feature Backlog.

      Actual Results

      We see that features after 100 are displayed under the Parking lot although they should actually be displayed under Feature Backlog.

      Looking at the web browser console log, we can see the error:

      Uncaught TypeError: Cannot read properties of undefined (reading 'length')
         at stringToColorID (prioritize.js?10.128.3.40417:4560:29)
          at HTMLDivElement.<anonymous> (prioritize.js?10.128.3.40417:4568:23)
          at Function.each (ja_jquery-etirwer-81a1782e5f.js:2:3002)
          at x.fn.init.each (ja_jquery-etirwer-81a1782e5f.js:2:1482)
          at setBGColorForTags (prioritize.js?10.128.3.40417:4567:78)
          at prioritize.js?10.128.3.40417:98:33
      

      This is also applicable to Epic and Capabilities.

      Workaround

      Currently, there is no known workaround for this behavior other than

      • Avoiding to add more than 3 objectives to your features

      or

      • Removing the ‘Objectives’ column from the backlog.

              d6d55ec5f178 Nick Gretta
              646db21d89d1 Francois Panaget
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: