Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-80733

Pie chart does not consider Null items

XMLWordPrintable

      Issue Summary

      The pie chart does not consider null items, and shows the total number of issues but does not show them in the list and when Jira renders the gadget. This interferes with the analysis of the gadget.

      Steps to Reproduce

      1. Create a filter.
      2. Add a Pie Chart gadget to a Dashboard and filter by Label or a value that has null values.

      Example of Filter results in DevTools tab:

      {"filterTitle":"TEST LABEL","filterUrl":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+ORDER+BY+created+DESC","statType":"Labels","issueCount":80,"results":[{"key":"regression","url":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+AND+labels+%3D+regression+ORDER+BY+created+DESC","value":11},{"key":"completed","url":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+AND+labels+%3D+completed+ORDER+BY+created+DESC","value":10},{"key":"LA","url":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+AND+labels+%3D+LA+ORDER+BY+created+DESC","value":6},
      {"key":"HIRED","url":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+AND+labels+%3D+HIRED+ORDER+BY+created+DESC","value":1},{"key":"NotHired","url":"/issues/?jql=project+not+in+%28%22Galaxy+App%22%2C+%22Test+Paula%22%29+AND+labels+%3D+NotHired+ORDER+BY+created+DESC","value":1}]}
      

      Expected Results

      Should consider the empty values to build the chart, however, it not shows on the group by list, consequently, is not considered when the chart is built. In the Total Issues shows correctly.  

      Actual Results

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              f2eab7874a5f Paula Freire (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: