Is there a way to get a list of all labels being used in a single JIRA project?
I need a concise list of all labels in use. Rather than including a label column in the issue list view and go page by page, writing them down.
I'd be happy with a SELECT query.
Thanks,
Karla
For JIRA versions, where there is no labels tab for projects, you can add a labels gadget to your dashboard and select a project within this gadget to get all labels used in a project.
Thank you, this worked like a charm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry, dumb question, how do you do that? does the labels gadget need to be installed or just configured?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The above link is now to a list of gadgets.
How to add a (generic) gadget is now here: https://confluence.atlassian.com/jiracoreserver073/adding-and-customizing-gadgets-861257074.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you go to the project page there is a tab for Labes where you can see all labels used in this project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes can't see that option anywhere. Need a quick answer on this. Please Update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And this would be the sql select statement to list them directly from the database.
Project is the project key.
The field "customfield" is the customfield of type "label". If customfield is empty, its a "normal" label.
Occurrences is the number of occurences :-).
select p.pkey project,
l.label label,
cf.cfname customfield,
count(*) occurrences
from jiraissue ji
join project p on (ji.project = p.id)
left join label l on (ji.id = l.issue)
left join customfield cf on (l.fieldid = cf.id)
where l.label is not null
group by p.pkey, l.label, cf.cfname
order by project, label;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
select ji.issuenum,ji.reporter,ji.creator,ji.summary,ji.created,l.label from jiraissue ji
left join label l on (ji.id = l.issue) where ji.project = 00000 order by ji.issuenum;
2019
for Jira ~ 7.7, change 00000 to your project id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.