Forums

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

Search for all sub-tasks under the story status open

杨简 Evan Yang _ENG - QA - CN_
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!
March 26, 2025

How to find all sub-tasks under story status open ,

How to write the corresponding jql

3 answers

2 votes
Trudy Claspill
Community Champion
March 27, 2025

Hello @杨简 Evan Yang _ENG - QA - CN_ 

Welcome to the Atlassian community.

If you have only native Jira functionality you cannot create a JQL statement that will find all subtasks based on criteria applied to their parent issue. That would require a third party app. Are you willing to consider a third party app?

0 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
April 4, 2025

Hi @杨简 Evan Yang _ENG - QA - CN_

welcome to the community!

If you're open to solutions from the Atlassian Marketplace, this would be easy to do using the app that my team and I are working on: JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a long list of so-called smart columns that aren’t natively available, including the parent status.

With these, you can model your search in just a couple of clicks, like so:

parent-status-sub-tasks.gif

Once you've narrowed down your list of issues, you can work on these directly in JXL, trigger various operations in Jira, or export them for further processing.

I should also add that JXL can do much more than the above: From support for configurable issue hierarchies, to issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know,

Best,

Hannes

0 votes
Charlotte Santos -Appfire-
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 27, 2025

Hi @杨简 Evan Yang _ENG - QA - CN_ 

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, natively, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all sub-tasks under stories in the open status:

issue in subtasksOfParentsInQuery("type = story AND status=open”)

Please contact our support if you have any other questions about this query, or the app in general.

We’ll be happy to help you! 😉

Suggest an answer

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

Atlassian Community Events