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

When there is no mapped status, accessing control chart report throws error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.13.1, 8.20.10
    • Reports
    • None

    Description

      Issue Summary

      When there are no mapped statuses (on Column management of board configuration), accessing the control chart report throws a Javascript error.

      This javascript error is considered misleading by the customer as it's not a user-friendly error message.

      Steps to Reproduce

      1. On the board, go to board configuration > column management.
      2. Move statuses to unmapped column
      3. Access control chart report

      Expected Results

      It will throw an error message on the requirement of the mapped status in a human-understandable error message.

      For example:
      "There is no mapped status on this board. Requirement: at least one status to be mapped onto the configured columns"

      Actual Results

      The below exception is thrown in the screen:

      Exception: Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
      Resource: http://localhost:42010/j82010/s/7d26c5885d31b8991f753c445f153fb4-CDN/pxfuiz/820010/1dlckms/cd8a9ac0970a299a4de45e330db511a2/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-AU&whisper-enabled=true
      Line: 8673
      Column: 1953
      

      Workaround

      Map at least one status to one of the columns as described in this KB article

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              azuhra Aqqiela
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: