Find tasks/subtasks not linked to stories

Barry Prendergast October 9, 2020

Hi everyone

 

I'm writing a few housekeeping filters to help find "orphan" issues.

For example, to find stories that aren't linked to epics, I'm successfully using this string:

type = Story AND "Epic Link" = EMPTY ORDER BY priority

I would like to do something similar to find tasks,subtasks, and bugs that aren't linked to a story ticket type.

Is that possible? Thanks!!

 

 

1 answer

1 accepted

1 vote
Answer accepted
Liam Green
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.
October 9, 2020

Hi @Barry Prendergast 

Welcome to the community.

I think the following should do what you need:

issuetype in (task, Sub-task, bug) AND parent is EMPTY

Let me know if it works :-)

Regards, Liam

Barry Prendergast October 10, 2020

That worked perfectly! Thanks Liam!

Like Liam Green likes this
Liam Green
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.
October 10, 2020

No problem. Thanks for accepting the answer!

John Boyes November 2, 2020

Same issue above but I get an error that Parent does not support the operator IS...  thoughts?  this is an on premise version of Jira if that makes a difference.  

Liam Green
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 2, 2020

Hi @John Boyes 

As this question is solved, you should post yours as a new question using 'ask the community' at the top.

Thanks, Liam

Ronald Sietzema August 23, 2021

@John Boyes try issuetype in (subTaskIssueTypes()) AND "Parent Link" is EMPTY 

Suggest an answer

Log in or Sign up to answer