Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21298

Accessing the Kanban Board results on an exception if all status are not mapped to a column and when the Kanban Backlog feature is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.4.0, 8.5.0, 8.13.0, 8.20.0, 8.22.0
    • Board configuration
    • None

    Description

      Issue Summary

      If the board administrator of a Kanban Project enables the Kanban Backlog with a specific status and moves all other statuses to unmapped, then Jira fails to load the Kanban Board.

      Steps to Reproduce

      1. Install a vanilla instance of Jira.
        • This was validated on Jira Software 8.22.0 but has been happening at least since 8.4.0.
      2. Create a Kanban project with sample data.
      3. Open the Kanban board and go to Board > Configure.
      4. On the configuration page, go to Columns.
      5. Move one status to the Kanban Backlog, enabling the feature.
      6. Move any other status to Unmapped Statuses.
      7. Click on Back to board.

      Expected Results

      The Kanban board loads successfully without any error.

      Actual Results

      The Kanban board loads with An error occurred message and, sometimes, the Project Sidebar fails to load.


      Clicking on the Details button reveals the following stack trace.

      An error occurred
      Hide…
      
      Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.
      Details
      
              Exception: TypeError: a.getFirstColumn() is undefined
              Resource: http://localhost:8841/j841/s/0d54bfa3515ed37415b37e3b58fd2db7-CDN/x54w4b/804002/6411e0087192541a09d88223fb51a6a0/2f0d4f584b0f690487623e928589cfab/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true
              Line: 4054
              Column: 907
      
      Environment
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
      Stack trace
      
          s.update@http://localhost:8841/j841/s/0d54bfa3515ed37415b37e3b58fd2db7-CDN/x54w4b/804002/6411e0087192541a09d88223fb51a6a0/2f0d4f584b0f690487623e928589cfab/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:4054:907
          m.renderUI@http://localhost:8841/j841/s/0d54bfa3515ed37415b37e3b58fd2db7-CDN/x54w4b/804002/6411e0087192541a09d88223fb51a6a0/2f0d4f584b0f690487623e928589cfab/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:6926:8132
          m.updateUI@http://localhost:8841/j841/s/0d54bfa3515ed37415b37e3b58fd2db7-CDN/x54w4b/804002/6411e0087192541a09d88223fb51a6a0/2f0d4f584b0f690487623e928589cfab/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:6926:7728
      



      There are times the board loads, but there's an error on the browser console.

      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
          at Object.update (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16588:889)
          at n.N.renderUI (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:7803)
          at n.N.updateUI (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:7477)
          at n.N.setPoolData (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:6966)
          at Object.<anonymous> (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:5216)
          at i (batch.js?locale=en-US:164:22867)
          at Object.add [as done] (batch.js?locale=en-US:164:23187)
          at n.N.loadPoolData (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:5197)
          at n.N.initializeWorkMode (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:4139)
          at Object.<anonymous> (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:16852:3017)
      

      Workaround

      Change the board configuration to have at least one status mapped to any column or disable the Kanban Backlog feature for the project.

      Attachments

        1. JSWSERVER-21298_screencast.mov
          7.80 MB
        2. screenshot-1.png
          screenshot-1.png
          62 kB
        3. screenshot-2.png
          screenshot-2.png
          70 kB
        4. screenshot-3.png
          screenshot-3.png
          85 kB
        5. screenshot-4.png
          screenshot-4.png
          263 kB

        Activity

          People

            Unassigned Unassigned
            tmasutti Thiago Masutti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: