I'm using Quick Filter to filter my tasks based on Epic. Here is the JQL I have for one of my queries
"Epic Link" ="Product"
so it filters all the tasks/issues belonging to Product Epic. However as I can't assign a sub-task to an Epic, this filter does not show subtasks of my tasks (where the task belongs to Product epic). How can I change my JQL to include those subtasks too?
Hello @Hessam Zakerzadeh
The level is as below:
Epic --> Story/Bug --> Sub-task
so if you want to connect a sub task to an epic it may not work.
However if you want a quick filter to find all the items related to an epic try this:
project = <name> AND issueFunction in issuesInEpics("issuekey = <your epic number>")
to get the full hierarchy you can check a Jira app called Structures
ahh yes :(
this JQL will not result in sub-task, because you are asking to show the issues in Epic, which will give all the stories (its one to one), whereas the sub task are the story's children.
and if you are trying to connect a subtask to an epic -- this will not work
Here is a quick read about Epic in jira
Note: JQL is just query language (basic search), it just helps you find direct answers in your jira DB, it can operate on the logic gates, but it cannot calculate and loop.
try Structures which will help you with more ideas and visibility.
Alright if you want to see the sub task assigned to you
use the quick filter named - "only my issues" - this is default quick filter when a new board is created (unless your admin has remove it)
assignee = currentUser()
JQL will give you a first level result (flat)
so you can try these things:
1. - find your epic and see the stories in it.
2. find a story and see the subtask under it.
3. find out all the items in your name (with issuetype = user story and sub task)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events