Forums

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

How can I query all the subtask of a specific type regardless of parent?

Alexandra Moraru
Contributor
November 9, 2018

Hello, 

I am trying to pull a list of all subtasks of a specific type (we use 6 types of subtasks) across all projects in a specific time frame? My ultimate goal is to calculate average time from assigning a subtask to completing it, but I cannot seem to find a way to pull the list of the subtasks.

 

Thanks in advance!

3 answers

2 accepted

1 vote
Answer accepted
PADMA KOTHAKOTA
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.
November 9, 2018

Hi ,

I think you can use the below filter  it will list  out all the sub-task issue type issues 

issuetype  in subtaskIssueTypes()

1 vote
Answer accepted
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.
November 9, 2018

Hello,

I think your JQL query would look like this:

issuetype = <your subtask type>
0 votes
lukec
Contributor
June 16, 2020

I wanted to find all the issues that were using the Sub-Task of "Performance Test".. so I used the above and just added a little to it:

issuetype in subTaskIssueTypes() and issuetype = "Performance Test"

This way I can narrow down only see the one Sub-Task I want. 

Panos Rigopoulos August 2, 2021

I am trying to do this exact thing but this isn't working for me 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events