Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3678

The Pie Chart Gadget doesn't work in 3.3.0

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • R3.3.0, R3.3.1
    • R3.3.5
    • None
    • None
    • OK

    Description

      The 'Pie Chart' doesn't shows the distribution between the different requirement statuses in a consistent way, leading to results where the same requirement appears multiple times, which in turn will exceed the 100% that the pie should represent.

      This occurs because the "Requirement Status" custom field can be configured in several different ways (e.g. it may show the calculated status for all assigned versions).

      In sum, the 'Pie Chart' currently does not support all configurations of Xray for the custom field "Requirement Status".

       

      In order to provide consistent results, whenever using the "Requirement Status" in statistical based gadgets (e.g. Pie Chart, Two Dimensional Filter Statistics) it should provide one value only for a  requirement, independent of the configuration for the custom field.

       

      This bugfix will make sure, Xray calculates and presents values for "No Version" (i.e. taking into account the latest execution results).

      As a consequence, the behaviour will change from previous versions (e.g. <= 3.1.x), as this behaviour will implement a consistent way of showing results.

       

      Example of actual result showcasing the problem

      Attachments

        1. image-2019-01-31-12-55-02-150.png
          251 kB
          Ana Leite [X]
        2. image-2019-03-01-14-38-15-223.png
          85 kB
          Diamantino Campos
        3. image-2019-03-01-14-38-31-281.png
          32 kB
          Diamantino Campos
        4. image-2019-03-01-14-39-24-484.png
          28 kB
          Diamantino Campos
        5. image-2019-03-01-14-40-12-128.png
          27 kB
          Diamantino Campos

        Issue Links

          Activity

            People

              pmmr Pedro Rodrigues
              actl Ana Leite [X] (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 6 hours
                  1d 6h