Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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"))

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

Community Events

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

Events near you