Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Display only certain labels on dashboard

When we log defects, teams add various labels. However, I am interested in tracking only ones that are impacting UAT.


Example; Defect may have label like Team1, Medication, UAT_ImpactedOne

Another defect may have labels: Team2, Vaacine

Third defect may have lables: Team2, UAT_ImapctedTwo.


My target is to have widget which has two dimensional chart with Status of defects on X axis and labels on Y axis, but ONLY those defects which have those UAT labels in them


Can someone help please? 






5 answers

2 accepted

1 vote
Answer accepted
Daniel Ebers Community Leader Jun 18, 2021

Hi @Anupama kapoor

I would split the idea up into two parts, one of it like Dirk said to use a separate environment custom field. Maybe I am wrong but the deeper ask here was for a JQL query for the labels, yes?

Well, you can search for labels:
project = XYZ AND labels IN (UAT_ImpactedOne, UAT_ImpactedTwo)

However wildcard searches are not there yet ( so you would need to list them all for a query.

After that I see nothing what would speak against using a dashboard gadget.


0 votes
Answer accepted
Dirk Ronsmans Community Leader Jun 12, 2021

Hi @Anupama kapoor ,

Won’t it be easier to just create a custom ‘environment’ field and use the same labels for all of em?

That way your labels list remains a lot cleaner and you can use the field for more purposes. 

After a few days of searching and trials around I found the perfect solution for this problem with multiple Labels. I'll share it here since it drove me crazy for a few days and I can imagine other people might benefit from it.

Unfortunately it's not a native/free solution, but a plugin called Custom Charts. It basically allow you to select only the Labels you want to see in your reports/charts and hide the others. Also very simple to use -> just click the Show/Hide button. And the best part is works for pretty much any other fields like Components (which have a similar problem).


We have a similar issue, which I don't believe can be resolved with the JQL filter. I want to display statistics on our dashboard for only specific labels (Q1-4). The issue I'm facing is this...even when creating a filter to show only issues containing one of these 4 labels, the statistics gadget will also display every other label on the same issues. The list gets very long and we really only want to see count/percentage for labels Q1-4. Is this possible with any gadget?

We don't wish to create a field just for this purpose since labels work just fine in every other aspect. Hoping for a magical answer on this one. Thanks!

Same issue here. We have a lot of labels for each tickets, but only interested to see a handful of them. Mind boggling that this is not available anywhere. 


Just to add to what @Daniel Ebers said. You can perform wildcard searches and regular expression searches with our professional indexing service JQL Search Extensions.

You can simply search for issues that have labels with UAT in them:

issue in wildcardMatch("labels", "*UAT*")

and use this filter in your dashboard gadgets. You can find out more in our docs.

I hope this helps!

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events