Forums

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

I want to create a JQL filter I am looking for a parent specific label and tasks specific label

Jean Turnauckas March 31, 2022

How do I create a JQL filter where I get back all child issues from a parent that has a label = ABC, to identify those epics are ABC epic types and the child issues have a label of 123?  Thank you!

3 answers

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
March 31, 2022

Jira doesn't natively support a query that lets you get parent issues per some criteria and then also get all the child issues for that dynamically generated list of parents.

You will need to look at third party apps in the Atlassian Marketplace that extend JQL for searching/reporting.

Jean Turnauckas April 13, 2022

thank you for the reply @Trudy Claspill --Jean t.

Jean Turnauckas April 13, 2022

thank you @Purpjesus28 !!

0 votes
Purpjesus28 March 31, 2022

issueFunction in epicsOf("labels = 123") AND labels = ABC

Trudy Claspill
Community Champion
March 31, 2022

@Purpjesus28 

Welcome to the community.

"issueFunction" is not a native JQL function in Jira Cloud. That comes from a third party app added to the Jira instance.

Purpjesus28 March 31, 2022 edited

This is the solution on my JIRA with no third party.  I read it backwards first time.  Why would cloud not have the same functionality as on prem?

@Jean Turnauckas try this out if your jira supports issuefunction it will work.  issueFunction in issuesInEpics("labels = ABC") AND labels = 123

Like • Dolev Beilis likes this
Jean Turnauckas March 31, 2022

thanks @Purpjesus28  it's not happy. I will try some more. Appreciate the reply!

Purpjesus28 March 31, 2022

Are you on JIRA cloud?  We may be able to fix it by embedding a filter so if you are we can look into it and get it fixed for you

Trudy Claspill
Community Champion
April 1, 2022

issueFunction comes from the Adaptavist ScriptRunner third party app. It is not a native feature of Jira Server.

Jira Server and Jira Cloud don't have the same functionality because they are products that have diverged in their development.

Like • Purpjesus28 likes this
0 votes
caglad
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.
March 31, 2022

what do you mean by ABC epic type? 

Jean Turnauckas March 31, 2022

sorry the epic has a label of ABC, so I have several epics with ABC and from that group of six epics I would like to filter for the tasks (associated with those six epics) that have the label 123

thanks! @caglad 

Suggest an answer

Log in or Sign up to answer