Forums

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

How to filter subtasks from epic by JQL?

光野 かおる
Contributor
September 3, 2025

Hi JIRA community .

I want to filter all subtasks which belong to a specific epic.

I put like this

parent =xxx ORDER BY created DESC

 But they only gave me stories that are in the epic.

How can I get the subtasks that are in these stories?

2 answers

7 votes
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2025

Hey @光野 かおる

Good day!

Since you're on a premium plan, you may use the JQL function portfolioChildIssuesOf()

The JQL syntax is:

key in portfolioChildIssuesOf("Epic-Key").

This will list all the child items and subtasks under this Epic.

Thanks!

1 vote
Tomislav Tobijas
Community Champion
September 4, 2025

Hi @光野 かおる ,

On top of what Karan said, you can simply add "type = Sub-task" part of the clause, so:

key in portfolioChildIssuesOf("Epic-Key") and type = Sub-task

or, you could get the same thing with this:

parentEpic = "Epic-Key" and type = Sub-task

This should get you all the sub-tasks from the specific Epic.

Cheers,
Tobi

Suggest an answer

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

Atlassian Community Events