Help with Pie Chart

Hi all,

I am trying to set up a custom dashboard, and am using the Pie Chart gadget to surface issue counts against various labels. However, the issues that do not have labels assigned to them are missing.

Is there a simple way to include those issues?

I tried creating a new label ("Unlabeled") and assigning it to all of those issues, but then I would need to make it the default value for the Label field for new issues, and I am not seeing a way to accomplish that either.

I then tried creating a custom field to do that, which I was successful at, however, I would then need to migrate all of the existing labels into that field, and have no idea how to accomplish that either.

I just want to setup a dashboard that I can use without becoming a JIRA Programmer... :(

Can anyone help?


2 answers

there is no simple way for your case.

what i would suggest is using a scripted calculated field , this field can hold a null value , this null value will be shown as 'non applicable/non/irrelevant' in the pie chart , statistic... and this scripted field must implement stattable.


change jira source in labelmanagerimpl with something similare to

return list == null ? LabelsFactory(project).getEmptyList() : list


List<Label> l= new LIstImpl();



Uhh... Hi Marc. I got an email notification that you had answered this, and I see the answer in the email, but when I click the link I am taken to my question with nothing else attached to it. Hoping I am not missing something here.

Where would I change the JIRA source? Where does it live? We are using OnDemand, BTW, so does that preclude that option?

The best solution I can think of is if I could somehow modify the Pie Chart code to stop ignoring issues with no label.

Barring that, I have no idea how to even begin making a scripted calculated field, but I would imagine even if I managed to do that, I would need to get the labels into that field, right? If that is the case, I am not sure how to do that either.

I have no problem with the coding, but I would really like to not have to learn yet another language/API/etc. and I have no idea what JIRA or its extensions are even written in.

Any guidance you can offer there would be greatly appreciated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,104 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you