Display only certain labels on dashboard

Anupama kapoor June 11, 2021

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 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 (https://jira.atlassian.com/browse/JRACLOUD-23038) so you would need to list them all for a query.

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

Regards,
Daniel

0 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 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. 

3 votes
Ciprian
Contributor
September 9, 2022

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).

Show-Hide-Labels.png

1 vote
Nicole Griffin August 9, 2022

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!

Ciprian
Contributor
September 5, 2022

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. 

Like # people like this
1 vote
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
June 23, 2021

Hi,

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!
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events