Forums

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

Jira Cloud: Filter Subtasks Where Parent Task Is a Certain Issue Type

Christoffer Bråthen
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!
April 5, 2018

I would like to create a filter that will return the following results:

Project: ABC
Issue Type: Sub-task
Issue Type of Parent Task: XYZ

1 answer

1 accepted

2 votes
Answer accepted
mschonarthatlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

Hello, Christoffer

Jira does not provide a direct way to make this search. Having said that, this is achievable by third-party add-ons that add different searching functions such as ScriptRunner for Jira

After installing the add-on, on your dashboard go to “ScriptRunner Enhanced Search”.

This query will get all sub-tasks whose parents have a type defined by a subquery and it should return the results you want:

project = ABC AND issueFunction in subtasksOf("project = ABC AND type = XYZ”)

I’d recommend checking out the documentation for Scriptrunner for Jira for further description of its features.

Please, let me know if this worked for you and be sure to ask if you have any question.

Cheers!

Hong Zhang
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 19, 2018

why?

I spent over 30 minutes attempting to find the answer. Apparently Jira used to allow this type of query. Many people need this feature. Why did you guys remove it and ask us to buy a separate plugin?

Are you guys owned by Apple now?

this is NOT an acceptable answer.

Like # people like this
andy
Contributor
July 20, 2018

Ditto. Been searching for this myself. ScriptRunner would cost me an additional $75/month based on my licenses just to run a simple query to check against a parent story. 

Like # people like this
Baptiste Pernet
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!
May 28, 2020

+1, this is very lame

Like Jean Francois Gelinas likes this
Salonee Wong
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!
December 9, 2020

Guys, I used this query and it returned all my sub-tasks.  Hope this might help

project = ProjectName AND issuetype not in standardIssueTypes()

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events