How to filter issues without sub-tasks

Dmitry Budnik November 3, 2012

Hello,

I would like to create a filter for my developers. They need to have the ability to see issues without the estimate field being filled. It work fine for us with the query like this:

{code}

fixVersion in unreleasedVersions() AND assignee = currentUser() AND (( originalEstimate is EMPTY) and (remainingEstimate is EMPTY)) AND project != Nanocoding internal upgrades and status in (Open, In Progress) ORDER BY fixVersion DESC, key DESC

{code}

But for those tasks which have sub-tasks we do not use the estimate field. We use the values from subtasks.

How can we filter those issues which have no sub-task.

4 answers

1 accepted

3 votes
Answer accepted
Norman Abramovitz
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 3, 2012

You cannot do it without a plugin. You can vote for this to be in the base.

https://jira.atlassian.com/browse/JRA-24973

You might be able to do it with j tricks plugin hasSubtasks function.

I would try using the function with the NOT operator.

1 vote
Mohit Arora July 12, 2018

A possible solution: https://wiki.almworks.com/display/structure/S-JQL+Cookbook

but would need the Structure plugin

0 votes
d3rb3rt May 7, 2021

try 

issueLinkType not in (jira_subtask_outward)

works for me, no plugins

0 votes
Amit Namdhari May 23, 2018

Solution without a plugin.

Use below query as a Quick Filter from the Board Configuration.

issueFunction not in hasSubtasks() AND issuetype != Sub-task

It will sort out every story which has No or Zero sub-tasks.

Mohit Arora July 12, 2018

issueFunction functionality is from a plugin & not part of standard JIRA

Like # people like this

Suggest an answer

Log in or Sign up to answer