Forums

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

JQL for returning all issues where parent Feature contains a specific label

Michelle Nicholas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2019

I have 8 Features related to a new notification capability so I added a "Notification" label to each Feature.  I would like to construct a JQL to pull all the child issues associated with the labeled Features.  I didn't see a "where" clause.  Is there something else I can use that will provide the needed result?

2 answers

1 accepted

0 votes
Answer accepted
rahuldanwade
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 27, 2019

Hi @Michelle Nicholas 

Switch to "advance" filter option and enter

labels in (LABEL_NAME) AND parent in (provide parent issue keys here)

If you have script-runner plug-in installed may try below query and check if you are getting correct result set.

issueFunction in subtasksOf("project = XXX AND issuetype = Feature AND labels in (LABEL_NAME")

 

Hope it will help.

 

Thanks

Rahul

1 vote
Laura Bier
Contributor
July 15, 2020

Looking for something similar myself.  Did you ever find the answer? 

Suggest an answer

Log in or Sign up to answer