It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to show only specific labels on a dashboard gadget?

I have a next-gen Jira project where I am tracking issues using multiple labels and epics. We are trying to identify patterns in issues, so I am labeling the issues with the site number that the issue occurred at, as well as the month in which it occurred.

My goal is to be able to generate two types of dashboard gadgets:

1. A dashboard gadget with a pie chart showing each site and how many issues are related to each

2. A dashboard gadget with a pie chart showing each month and how many issues occurred in that month

The issue I run into is that when I build a pie chart by label, it shows both the month labels and the site labels. is there any way to prune labels that don't match a certain format from the pie chart? I cannot just filter on specific labels since each issue will have multiple labels, so filtering on the months will still show the sites in the widget.

4 answers

Hi George,

I'm not sure this can easily be achieved using the built-in pie charts in Jira, but it might be possible using the app Custom Charts for Jira (available on Jira Cloud, Server and Data Center)

This app allows you to create custom pie charts, so you can select the color and order of the segments. For this use case, it also allows you to hide segments you don't want to see. There's an interactive playground that I've set up with some label examples so you can test this out yourself right now: https://www.oldstreetsolutions.com/custom-charts-for-jira

As you can have multiple labels on an issue this means that the "Total: 4 issues" link at the bottom of the chart won't actually link to a valid search (for the same reason you can't form the JQL yourself) but hiding segments directly on the chart allows you to display the correct data. This would be a manual process when you create each dashboard chart.

Hopefully that's a solution to your issue :)

Custom_Charts_for_Jira.png

1 vote
Jack Community Leader Sep 25, 2019

Try this.

  1. create and save a filter like this - project = myproject and labels in (a,b,d,r)
  2. add a pie chart gadget and reference the saved filter and use labels as the metric.

your idea of a monthly view pie chart doesn’t work. Consider using the created vs resolved or a bar chart. That has time as the x-axis

Hi George,

I'm not sure this can easily be achieved using the built-in pie charts in Jira, but it might be possible using the app Custom Charts for Jira (the Cloud version is currently being approved by Atlassian and will be available in the next few days!)

This app allows you to create custom pie charts, so you can select the color and order of the segments. For this use case, it also allows you to hide segments you don't want to see. There's an interactive playground that I've set up with some label examples so you can test this out yourself right now: https://link.oldstreetsolutions.com/custom-charts-playground

As you can have multiple labels on an issue this means that the "Total: 4 issues" link at the bottom of the chart won't actually link to a valid search (for the same reason you can't form the JQL yourself) but hiding segments directly on the chart allows you to display the correct data. This would be a manual process when you create each dashboard chart.

Hopefully that's a solution to your issue :) I'll let you know on this comment as soon as the app is available for Cloud (Atlassian messaged me this morning saying they are looking at it today, so it could be any hour now) but the functionality will be identical to the server version on the interactive playground.

 

Custom_Charts_for_Jira.png

Hi George,

I'm not sure this can easily be achieved using the built-in pie charts in Jira, but it might be possible using the app Custom Charts for Jira (the Cloud version is currently being approved by Atlassian and will be available in the next few days!)

This app allows you to create custom pie charts, so you can select the color and order of the segments. For this use case, it also allows you to hide segments you don't want to see. There's an interactive playground that I've set up with some label examples so you can test this out yourself right now: https://link.oldstreetsolutions.com/custom-charts-playground

As you can have multiple labels on an issue this means that the "Total: 4 issues" link at the bottom of the chart won't actually link to a valid search (for the same reason you can't form the JQL yourself) but hiding segments directly on the chart allows you to display the correct data. This would be a manual process when you create each dashboard chart.

Hopefully that's a solution to your issue :) I'll let you know on this comment as soon as the app is available for Cloud (Atlassian messaged me this morning saying they are looking at it today, so it could be any hour now) but the functionality will be identical to the server version on the interactive playground.

Custom_Charts_for_Jira.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

880 views 7 24
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you