Issue statistics gadget - returning the wrong number of total issues and percentage

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      When you select "Components" as a "Statistic Type" in the "Issue Statistics" macro, the results are not correct. They count each component as an issue, returning the incorrect number of total issues. E.g: if an issue has 3 components, this issue will count as 3 in the total issues number.
      This is reproducible on Data Center: Yes

      Note that this is a bug in Jira, tracked in JRASERVER-24470

      Steps to Reproduce

      1. Create a project in Jira
      2. Create a few components
      3. Create a few issues with multiple components
      4. Go to a Confluence page in the edit mode
      5. Add the Issue Statistics macro
      6. Add a filter of the Jira project
      7. In the field Statistic Type, select Components
      8. Save the Macro
      9. See the results

      Expected Results

      The correct number of issues

      Actual Results

      The Total issues count is incorrect. The issues are added multiple times when it is part of multiple components.

      Also note that the Percentage shown for each type is also incorrect.

      Notes:
      This is not specific to Components. If is true for other options as well. Example, if the type is selected as Label with multiple Label on the same issue, are counted multiple times.

      Workaround

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

        1. ActualResults.png
          ActualResults.png
          69 kB
        2. image-2024-08-29-15-15-11-398.png
          image-2024-08-29-15-15-11-398.png
          114 kB
        3. image-2024-08-29-15-15-55-638.png
          image-2024-08-29-15-15-55-638.png
          215 kB
        4. image-2024-08-29-15-20-31-585.png
          image-2024-08-29-15-20-31-585.png
          133 kB
        5. image-2024-08-29-15-21-02-358.png
          image-2024-08-29-15-21-02-358.png
          130 kB

            Assignee:
            Saquia Naz
            Reporter:
            Sandeep Sahadevan
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: