Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.4.0, 8.5.0, 8.13.0, 8.20.0, 8.22.0
-
None
-
8.04
-
6
-
Severity 3 - Minor
-
1
-
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
- 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.
- Create a Kanban project with sample data.
- Open the Kanban board and go to Board > Configure.
- On the configuration page, go to Columns.
- Move one status to the Kanban Backlog, enabling the feature.
- Move any other status to Unmapped Statuses.
- 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.