How do I filter subtasks in an Epic, on JIRA Cloud?

I want to be able to search for subtasks that belong to a number of different tasks. These tasks are all in the same Epic. What JQL code can I use to filter this?

I have found solutions using add-ons, but they are all paid and that seems expensive for just this simple function.

Isn't there a free-solution for JIRA Cloud?

1 answer

1 accepted

1 vote
Accepted answer

Hi Rodrigo Oliveira,

I think you are looking for this:

issuekey in linkedIssues("ISSUE-ID") and issuetype = sub-task

Lemme know if you have any doubt.


Hi Lameck,

That query didn't bring up any results. Tried only

issuekey in linkedIssues("EPIC-ID")

but that didn't show any results either.

Hi Rodrigo,

Sorry. I understood wrong. 

To see the issues in linked in an Epic, you will use that filter:

"Epic Link" in ("EPIC-ID1","EPIC-ID2")


P.S.: If you have any problem, please lemme know.

Hi again.
Thanks for helping.

That last string, brings up only all tasks in the Epic. And then I can't filter for all sub-tasks of those tasks. Which is what I really need.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,304 views 5 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you