Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-60071

Regression from redundant entries in pie chart gadget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 6.4.12, 7.1.4, 7.2.0, 7.1.9
    • Issue - Fields

      Summary

      The pie chart shows redundant entries in the case that a custom field has more than one custom field context. In the attached screenshot you see a pie chart with statistic type on a single select list custom field. The select list entries are the same in the different contexts. The difference is in default values of single JIRA projects.

      Steps to Reproduce

      1. Create two new projects like Project A and B.
      2. Add a new select list custom field and add two option values such as A and B.
      3. Create two new issues like this:
        Issue 1 with the select list field set to option A
        Issue 2 with the select list field set to option B
        
      4. Add a new filter with the JQL query below:
        project = Project A
        
      5. Add a pie chart gadget and use the new filter. The gadget are showing the data correctly.
      6. Now, add two new context field like the configuration below:

        Project A configured for Context 1 (with the same option values as in default context)
        Project B configured for Context 2 (with the same option values as in default context)
      7. Reindex single project for A and B.
      8. Create a new issue and set the select list field to option B
      9. Navigate back to the Pie Chart gadget, you will get this:

      Expected Results

      JIRA should be able to remove the redundant entries in the pie chart.

      Actual Results

      JIRA Pie Chart gadget is showing redundant entries from different context field.

      Workaround

      None

        1. customfield_context.png
          590 kB
          John Chin
        2. pie-chart.png
          76 kB
          John Chin

              Unassigned Unassigned
              ckimloong John Chin
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: