Forums

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

How to use to jql query all subtasks of Epic?

zhaoyawei June 19, 2018

How to use to jql query all subtasks of Epic?

3 answers

2 votes
Alexey Matveev
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.
June 19, 2018

If you want to choose all subtasks, then the JQL query would be like this:

issueFunction in subtasksOf("key = EPIC-1")

If you want to choose all issues, that are linked to an Epic, then you should use:

issuesInEpics("key = EPIC-1")
zhaoyawei June 19, 2018
issueFunction in subtasksOf("key = EPIC-1") fill in error:you do not have permission to modify this favorite.
zhaoyawei June 19, 2018

webwxgetmsgimg.jpg

1 vote
Alana Fernando
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.
June 19, 2018

hi @zhaoyawei,

 

you can simply use below JQL to filter sub task of a parent ticket.

parent = <Epic ticket ID>

parent = TST-4674

  

Reference: Advanced Searching

 

hope this helps! 😊

zhaoyawei June 20, 2018

query not any subtasks

Alana Fernando
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.
June 20, 2018

@zhaoyawei would it be possible to post a screen shot of the results you got when you run above JQL? 

0 votes
Kabeleced September 28, 2022

Using following query I got all issues of a certain epic and all sub-tasks of these issues:

Epos-Verknüpfung = "Name-of-epic" or issueFunction in subtasksOf("Epos-Verknüpfung = Name-of-epic")

I don't know why the property 'epic link' need to be German in our instance. Maybe this must be adjusted to your Jira instance. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events