-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 8.20.21, 9.4.4
-
Component/s: Issue - Actions, Project - Agile Boards
-
None
-
8.2
-
4
-
Severity 3 - Minor
-
1
Issue Summary
On a Scrum board, when an issue is split with the estimation set to issue count the split screen throws a Java script error as seen in the screenshot.
Attached are all the screenshots to reproduce the problem.
This is reproducible on Data Center: yes
Steps to Reproduce
- Install and configure Jira 9.4.4
- Create a Scrum project with a few issues
- Create an Active and a Future Sprint
- Under the Board > Configure > Estimation, set the "Estimation Statistic" to "Issue Count"
- Now go back to the board and right click on an issue and click on the "Split" option
- Set a Sprint value and the error will popup
- TypeError: Cannot read properties of undefined (reading 'trim')
Expected Results
The Javascript error is not necessary as the Split works well with this
Actual Results
The below exception is thrown on the UI
An error occurredHide… Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues. Details Exception: Uncaught TypeError: Cannot read properties of undefined (reading 'trim') Resource: https://linux-40492.prod.atl-cd.net/jira/s/a74a6d85292ed64299d758c213bcc559-CDN/-nrrbk7/940004/1dlckms/6ae5aed3b13feff71ba6a3813be9ac6e/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.global,atl.general,-_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: 2610 Column: 2987 Environment Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Stack trace TypeError: Cannot read properties of undefined (reading 'trim') at d.checkIfEstimateChanged (https://linux-40492.prod.atl-cd.net/jira/s/a74a6d85292ed64299d758c213bcc559-CDN/-nrrbk7/940004/1dlckms/6ae5aed3b13feff71ba6a3813be9ac6e/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.global,atl.general,-_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:2610:2987) at d.evaluateEstimateChange (https://linux-40492.prod.atl-cd.net/jira/s/a74a6d85292ed64299d758c213bcc559-CDN/-nrrbk7/940004/1dlckms/6ae5aed3b13feff71ba6a3813be9ac6e/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.global,atl.general,-_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:2610:3490)
Workaround
Currently, there is no known workaround for this behaviour. However, proceeding with the error will still split the issue correctly.