I want to display a simple pie chart using jira using simple data. But what I think is simple is elusive.
I have a jira project. I use four labels with this project.
Two labels are "RED" or "BLACK" Tickets can have one or the other, or neither but not both.
Two other labels "ODD" or "EVEN" Tickets can have one or the other or neither but not both.
I want to create a jira chart of all RED tickets that are either ODD or EVEN. Example, I have 400 RED tickets, 150 are ODD, 200 are EVEN and 50 are neither. I want the jira pie chart to show 150 ODD or 200 EVEN.
First I create a filter of all Jira tickets of the project that is RED and ODD OR RED and EVEN. In the example, the resultset returns 350 tickets.
But when I use the filter for the Jira Chart and group by Labels, it gives me 3 categories: 150 ODD, 200 EVEN and 350 BLACK. I don't want the BLACK label which is really a duplicate of the ODD and EVEN aggregate. Is there a way to create a jira chart of just 150 ODD and 200 EVEN? (Note I know I could create custom attributes) but wondering if we can keep our solution using just labels.
Thoughts?
Hi @Phillip_Dang,
The behavior is expected considering that that Labels field is of type multi-value and you actually have multiple labels on same issue.
What you could do:
1. Use two different fields of type Label instead of one: One field (Color) to set RED or BLACK and another field (Parity) to set ODD or EVEN, or
2. Instead of Pie Chart, try using the Issue Statistics gadget
It will still display the BLACK issues (which you can interpret it as the Total), but at least will give you correct data about ODD and EVEN.
Danut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.