ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
109 stars 12 forks source link

Moving uncompleted tasks: when / then rules with empty task status #46

Closed nickynicolson closed 1 year ago

nickynicolson commented 1 year ago

I'd like to be able to process (move) uncompleted tasks, i.e. those with a blank task status e.g.:

Though I can specify a space character under task status in the "when" part of the rule (see image), uncompleted tasks are not moved.

task-archiver-when-then

I assume that tasks are pre-filtered and uncompleted ones not evaluated against rules - could we have an option to pass all task statuses to rules for processing please?

nickynicolson commented 1 year ago

I think the logic for inclusion of tasks is in TaskTestingService.ts

ivan-lednev commented 1 year ago

Hi, @nickynicolson,

Thank you for your input! I'll handle this soon.

ivan-lednev commented 1 year ago

Hi, @nickynicolson,

The issue is addressed in 0.23.2.

nickynicolson commented 1 year ago

Thanks Ivan, much appreciated