Forums

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

JQL for backlogged tasks whose parents are in progress

McKenna Hogan
Contributor
June 28, 2024

Hello, I want to create a custom filter for finding backlogged tasks whose parent epics are in the current sprint or in schedules sprints. I know I have tasks that match this criteria but the JQL's I'm trying aren't working. I have tried:

 

statusCategory != done and (Sprint not IN openSprints() or sprint not in futureSprints()) and (parentEpic in opensprints() or parentepic in futuresprints())

Any recommendations?

1 answer

1 accepted

4 votes
Answer accepted
Bill Sheboy
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 28, 2024

Hi @McKenna Hogan 

What you describe is not possible with out-of-the-box JQL features.  That is, querying an issue's parent's fields which meet certain criteria to find the child issues.  You will need a marketplace addon for JQL to do this with a query.

The parentEpic() function returns the child issues associated to an Epic in a company managed project, and it does not search the fields of the Epic itself.

https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#parentEpic--

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events