Forums

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

how to find sub-tasks belonging to a specific parent issue type

kyra.storm.van.leeuwen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2020

We use 4 different issue types, Epics, Stories, Tasks and Sub-Tasks. I would like to find all sub-tasks that have a parent task [excluding Stories]

 

Note: I can find a lot of similar questions in the community, but when I click on one with the status: Solved and multiple responses, it returns 0 answers .. so have no clue.

 

2020-07-15_11-36-01.jpg

2 answers

2 accepted

1 vote
Answer accepted
Jack Nolddor _Sweet Bananas_
Atlassian Partner
July 15, 2020

Hi,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack (if you are on Server / DataCenter) you can type the following:

 

1) Find sub-tasks belonging to a specific parent issue (i.e Task of EMEA project)

issue IN subtasksOf(' type = Task AND project = EMEA ')

(*) Note that this is just an example, you must tune above query to fit your needs.

 

Using this app you can also query other issues relations, check:

 

Regards

0 votes
Answer accepted
Asha Gomez
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.
July 15, 2020

Hi @kyra.storm.van.leeuwen 

To get expected result ie, sub-task under parent issuetype it is better install scriptrunner plugin and try advanced JQL query like,

eg: 

project=xyz AND "Epic Link" = issuekey-10 OR issuekey in (issueSubtasks("'Epic Link' = issuekey-10"))
kyra.storm.van.leeuwen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2020

thank you! I will be exploring what plugin best suits us 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events