Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make a filter to find a ticket that is "Done" and has a certain "Label"

Bryan Hord
Contributor
June 30, 2022

I can find tickets that are in progress that have a certain label. As soon as I go to All Done issues I cannot select any labels to filter.

It seems like "Done" should be another state similar to "ToDo" or "InProgress" but instead it has very different options. 

Can I use JIRA Query Language for this? I do not know JQL yet. 

https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/ I learned how to do this 

project = "TEST" AND assignee = currentuser()

 

3 answers

1 accepted

3 votes
Answer accepted
Bryan Hord
Contributor
June 30, 2022

I think I got it. The JQL does suggest words and "labels" is one of the suggestions. It seems to be working!

0 votes
Danno
Community Champion
July 1, 2022

@Bryan Hordyou will get used to JQL as you go. Follow @Sam Nadarajan lead by trying some basic searches and then switching to JQL to see what it creates from your basic search. Then go check out this article:

Get started with Advanced Search and JQL  

Bryan Hord
Contributor
July 1, 2022

Thank you, yes it will take some practice. 

0 votes
Sam Nadarajan
Community Champion
June 30, 2022

Hello @Bryan Hord

It sounds like you got it! If you run into this in the future something I like to do is "Switch to Basic" and find the field I want to search against using the "+ More" option. In the screenshot, I can select the label field and pick one or more labels. 

Screen Shot 2022-06-30 at 4.51.08 PM.png

When I switch to JQL view, I can view the query it created:

labels in (TC-518, TC-500) order by created DESC

The JQL typeahead functionality is pretty slick, but I'll typically go this route when it's not as slick.

 

Glad you figured it out! 

Bryan Hord
Contributor
July 1, 2022

Ah, thank you. 'labels in' is much more convenient. 

Like Sam Nadarajan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events