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

Accepted Answer
1 vote

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
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

466 views 7 5
Join discussion

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