Searching for tasks with ONLY a certain tag, or by number of tags?
(closed account) says:
Is there a way to search for number of tags, or for tasks with ONLY a certain tag?
Basically, all tasks incoming from a bookmarklet are marked with a certain tag, and then I classify them with an additional freeform tag.
I'd like to look for tasks that just have this one tag -- without the additional tag -- so that I can add a freeform tag to them.
I suppose I could do a 'NOT' statement, but the problem is that I'd prefer to be freeform about that second tag -- which wouldn't really work with an answer of a 'NOT tag'.
Basically, all tasks incoming from a bookmarklet are marked with a certain tag, and then I classify them with an additional freeform tag.
I'd like to look for tasks that just have this one tag -- without the additional tag -- so that I can add a freeform tag to them.
I suppose I could do a 'NOT' statement, but the problem is that I'd prefer to be freeform about that second tag -- which wouldn't really work with an answer of a 'NOT tag'.
Hi wcitypoe,
It's not currently possible to search based on the number of tags or to find tasks with only a certain tag without using "NOT", sorry.
One possible solution might be to use a special prefix for the freeform tag that you add. You could then exclude those tags all at once by using the tagContains: operator.
Hope that helps!
It's not currently possible to search based on the number of tags or to find tasks with only a certain tag without using "NOT", sorry.
One possible solution might be to use a special prefix for the freeform tag that you add. You could then exclude those tags all at once by using the tagContains: operator.
Hope that helps!
Let's say you use the tag bkmrklt for your bookmarklet tag. By searching for
tagContains:b AND tagContains:k AND tagContains:l AND tagContains:m AND tagContains:r AND tagContains:t
you will get all tasks with this tag, letting you add a freeform tag also.
Afterwards, I suspect you will delete the tag bkmrklt and leave only the freeform tag.
This doesn't work if you use a tag with the exact same letters as above + some extra letters. For instance, you will also get all tasks with the tag bookmarklet.
If you really only want the tasks with only bkmrklt and no additional tag, you could expand the search with a NOT for all the other letters in the alphabet.
tagContains:b AND tagContains:k AND tagContains:l AND tagContains:m AND tagContains:r AND tagContains:t
you will get all tasks with this tag, letting you add a freeform tag also.
Afterwards, I suspect you will delete the tag bkmrklt and leave only the freeform tag.
This doesn't work if you use a tag with the exact same letters as above + some extra letters. For instance, you will also get all tasks with the tag bookmarklet.
If you really only want the tasks with only bkmrklt and no additional tag, you could expand the search with a NOT for all the other letters in the alphabet.