obsidian-tasks icon indicating copy to clipboard operation
obsidian-tasks copied to clipboard

Filter Tasks by Properties Frontmatter

Open Foffo96 opened this issue 1 year ago β€’ 2 comments

⚠️ Please check that this feature request hasn't been suggested before.

  • [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
  • [X] I searched previous Issues didn't find any similar feature requests.
  • [X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
  • [X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

πŸ”– Feature description

It will be useful to filter tasks from the file properties frontmatter by {key} and {value}.

βœ”οΈ Solution

In my case, i’m trying to use this plugin to handle tasks coming from work meetings. Since I have multiple work projects, it would be useful to filter them with info from the file properties frontmatter.

For example β€˜ β€˜ β€˜tasks Properties.{key} includes {value} β€˜ β€˜ β€˜ Or

β€˜ β€˜ β€˜tasks Filter by function task.file.properties.{key} = {value} β€˜ β€˜ β€˜

I know that a workaround is to insert a tag in the task description like follows, but that would mean to write it for every task in that particular meeting and to have less readable tasks.

  • [ ] #AI #Project1 This is a task coming from a meeting for Project1

β€˜ β€˜ β€˜tasks Description includes Project1 β€˜ β€˜ β€˜

❓ Alternatives

No response

πŸ“ Additional Context

No response

Foffo96 avatar Dec 06 '23 11:12 Foffo96