Search for task with no incomplete subtasks

marksully says:
Hi,
I have a list (of projects) that I want create a Smart List from that shows me all items that have no subtasks or are not a subtask themselves.
The goal is to get a list of projects that have no actions specified.
The problem is that the query below does not distinguish between items that have complete or incomplete subtasks.
list:Projects and isSubtask:false and hasSubtasks:false
It would be better if hasSubtasks:false ignores completed tasks or we have another search criteria to identify tasks with no incomplete subtasks.
Many thanks in advance for any help that can be provided.
Mark
I have a list (of projects) that I want create a Smart List from that shows me all items that have no subtasks or are not a subtask themselves.
The goal is to get a list of projects that have no actions specified.
The problem is that the query below does not distinguish between items that have complete or incomplete subtasks.
list:Projects and isSubtask:false and hasSubtasks:false
It would be better if hasSubtasks:false ignores completed tasks or we have another search criteria to identify tasks with no incomplete subtasks.
Many thanks in advance for any help that can be provided.
Mark

(closed account) says:
Is this what you're looking for?
status:completed
Status:incomplete
status:completed
Status:incomplete



marksully says:
Thanks for the replies everyone.
@azclaire
Thanks but that applies to tasks directly not to a parent task with subtasks.
@robert.ward
Yes, that is what I found out but was hoping I was missing something :)
@raymond.bergmark
Exactly what I am trying to do :)
I want to see what projects (parent tasks) have no next action.
hasIncompleteSubtasks:true/false would be ideal.
The other search parameter that would be a very nice addition is:
taskIndex:n
Where n is the index number of the task (or subtask) in a list (or parent task).
list:Projects AND isSubtask:true AND taskIndex:1 would return the first subtask of a parent task.
In other words the Next Action of any project.
@azclaire
Thanks but that applies to tasks directly not to a parent task with subtasks.
@robert.ward
Yes, that is what I found out but was hoping I was missing something :)
@raymond.bergmark
Exactly what I am trying to do :)
I want to see what projects (parent tasks) have no next action.
hasIncompleteSubtasks:true/false would be ideal.
The other search parameter that would be a very nice addition is:
taskIndex:n
Where n is the index number of the task (or subtask) in a list (or parent task).
list:Projects AND isSubtask:true AND taskIndex:1 would return the first subtask of a parent task.
In other words the Next Action of any project.



biokinton says:
Other products achieve this functionality by classifying tasks as either 'active' or 'inactive'. For example:
Active tasks might look like this:
* Tasks with no incomplete subtasks
* Tasks whose start date is on or before today
* Tasks with no incomplete dependencies (imagining a world where RTM supports dependent tasks)
Similarly, inactive tasks might look like this:
* Tasks with incomplete subtasks
* Tasks whose start date is after today
* Tasks with incomplete dependencies
With all tasks designated as either 'active' or 'inactive' it'd be a simple matter to introduce a new search operator, isActive, with possible values of true and false. Imagine the following structure:
* Send TPS report to boss (tagged: @work)
** Wait - Karen - provide contents page for TPS report (tagged: wait)
Also, picture a smart list that matches all active tasks tagged with '@work'. The parent task would remain inactive until the sub task is completed, at which point it'll magically flip to being 'active' and appear on the '@work' smart list.
Cheers!
Active tasks might look like this:
* Tasks with no incomplete subtasks
* Tasks whose start date is on or before today
* Tasks with no incomplete dependencies (imagining a world where RTM supports dependent tasks)
Similarly, inactive tasks might look like this:
* Tasks with incomplete subtasks
* Tasks whose start date is after today
* Tasks with incomplete dependencies
With all tasks designated as either 'active' or 'inactive' it'd be a simple matter to introduce a new search operator, isActive, with possible values of true and false. Imagine the following structure:
* Send TPS report to boss (tagged: @work)
** Wait - Karen - provide contents page for TPS report (tagged: wait)
Also, picture a smart list that matches all active tasks tagged with '@work'. The parent task would remain inactive until the sub task is completed, at which point it'll magically flip to being 'active' and appear on the '@work' smart list.
Cheers!