Split Issue throws javascript error on the board

XMLWordPrintable

    • 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

      1. Install and configure Jira 9.4.4
      2. Create a Scrum project with a few issues
      3. Create an Active and a Future Sprint
      4. Under the Board > Configure > Estimation, set the "Estimation Statistic" to "Issue Count"
      5. Now go back to the board and right click on an issue and click on the "Split" option
      6. 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.

        1. Screenshot 2023-04-20 at 6.25.31 PM.png
          861 kB
          skavatekar
        2. Screenshot 2023-04-20 at 6.25.48 PM.png
          284 kB
          skavatekar
        3. Screenshot 2023-04-20 at 6.26.00 PM.png
          1003 kB
          skavatekar
        4. Screenshot 2023-04-20 at 6.26.20 PM-1.png
          212 kB
          skavatekar

            Assignee:
            Unassigned
            Reporter:
            skavatekar
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: