Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,456,658
Community Members
 
Community Events
176
Community Groups

How can I find the list of labels being used in a project?

I need to find the list of labels being used in the project. Some suggested to use the gadgets but i cant find the gadgets(maybe they are not enabled) to get the list, can someone suggest a better way.

4 answers

It is called Labels Gadget. You can add it to your dashboard and filter labels for a project in the settings of the gadget.

Usually Jira does not load all gadgets when you try to add a gadget. there is a button on the adding screen "Load all gadgets". Click it.

this is super cool! Thank you!

Yunhua Hu I'm New Here Sep 06, 2022

Labels Gadget lists all the labels used in the project. How to search labels listed in issuetype = Test only?

Thanks!

@Yunhua Hu   you can always just do a normal search and use a jql like:

issuetype = test and labels is not EMPTY

You can save that filter, use it in a dashboard or just export your results 

*to note - this does not mean that some of the labels are NOT used in other types as well, so be mindful of that*

 

JQL.JPG

you could also just do a filter, if you didn't want to build a Dashboard.

Query would be similar to this:

Project = "ProjectName" and labels != EMPTY

 

You can limit the columns to whatever you want/don't want to see, and voila. Quick and easy, you can export it if you want to csv, etc.

You can get a list of all labels as json file from the REST API, see the answers in this thread:
https://community.atlassian.com/t5/Jira-questions/How-do-I-find-all-labels-in-Jira/qaq-p/1784796

This might work for Jira Cloud, but I don't think that API exists for Jira Server?

No mention of "labels" anywhere on this page: https://docs.atlassian.com/software/jira/docs/api/REST/9.5.0/

0 votes

There is a hard-code solution - SQL query to database.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events