Using "Jira Chart" Macro, doesn't list jira issues with no labels. How to handle this?
Asked by emagnun:

I'm trying to get the count of all the jira issues in my project, based on labels. As you can see below, I'm able to achieve it by using "Jira Chart" macro, you'll see the issue count based on labels.

![query.jpg](/t5/image/serverpage/image-id/159939iFD12B815D97D7BFE/image-size/large?v=v2&px=999 "query.jpg")

<br />

Now, the problem is sometimes team members don't add labels for their Jira issues, and those are NOT getting counted in this result received from "Jira Chart" macro. You can see the total value doesn't actually add up, for each assignee.  

For eg: take the first row, assignee has actually 65 Jira issues with him but he used Labels in only 12 Jira issues and 53 of his Jira issues basically has no labels. How do i get that 53 displayed as something like "none" column in this result?


Answers:
author: Nic Brough -Adaptavist-
body: You can't do this, it's logically impossible. Your query is asking for a list of Jira issues and then basing the display on the labels that are on the issues.

It can't count labels that are not there, there's nothing there to count.

comments: author: emagnun
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) Thanks for feedback.  

But, I'm able to do it by "Jira Issue/Filter". I used the same JQL query to list of all tasks and then used "Pivot Table" on it, which can find those no-label issues.   

Here are the snapshots, you can see the red boxes correspond to Jira issues without any label.

![query.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/159980i0D1305E146BA6385/image-size/large?v=v2&px=999 "query.jpg")![query1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/159981iD55443300D7E364D/image-size/large?v=v2&px=999 "query1.jpg")

<br />

**So, the problem really is "Jira Chart" somehow doesn't get those no-label tasks ?!! I need to use "Jira Chart" coz only that can provide Jira links within the result table. So, I stlil need help.**


author: Nic Brough -Adaptavist-
body: Your pivot table is not reporting on labels (that aren't there), it's reporting on issues.


author: emagnun
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) With this method ("Jira Issues/Filter" method and pivot table), it's reporting the number of issues that has no labels, which is what I wanted to achieve.

But still, I don't have a way to do it, with "Jira Chart". Do you have some suggestion on that?


author: Nic Brough -Adaptavist-
body: Again, it can't report on what isn't there.


author: emagnun
body: Thanks. May be you didn't get the question clearly or didn't carefully go through what I wrote.


author: Nic Brough -Adaptavist-
body: I think I understand it fine. You are trying to get a gadget to report on labels that are not there. It can't do that, there is nothing for it to display.

Your pivot table is not reporting on that, it is reporting on the issues, not the labels.


author: Earl McCutcheon
body: Hello [@emagnun](/t5/user/viewprofilepage/user-id/4359249) ,

Looking this over as Nic was pointing out the two-dimensional filter result set is designed to only show values where a value exists for the defined axis, As there are only two axis points it is looking for assignee value existing as axis one and a label existing for axis two, there is not an option to add a third axis point and it will not include data points for nonexistent data.

However, an option you could look into, to build out a more robust report would be using one of the free add-on extensions for Excel or Google Sheets provided by Atlassian:

* [Jira Cloud for Excel (official)](https://marketplace.atlassian.com/apps/1221301/jira-cloud-for-excel-official?tab=overview&hosting=cloud)
* [Jira Cloud for Google Sheets (Official)](https://marketplace.atlassian.com/apps/1220382/jira-cloud-for-google-sheets-official?tab=overview&hosting=cloud)

These tools will allow you to pull the desired data set into the external spreadsheet application where you can use the external toolsets native toolset. Using one of these tools you can use count functions in conjunction with your totals subtracting the labeled items.

Regards,  
Earl


Tags: chart

confluence-server

jira

label

macro

server