Dear all, I have a simple doubt, I must be doing something incorrectly. Here’s the case.
I’m using Obsidian as a task/project management tool andI have my YAML frontmatter like this for all my taks:
---
title: Example task
uid: 1675165688
CreatedTime: Tuesday 31st January 2023 08:48
BlockedByTask:
HideUntil: 2023-02-07T06:00
Due: 2023-02-01
Impact: 2
Urgency: 1
Status: waiting
Next: true
Done: false
DateDone:
RequestedBy:
Stakeholder:
- "[[Person 1]]"
- "[[Person 2]]"
- "[[Person 3]]"
WaitingWhom: "[[Person 2]]"
LaptopAffected:
MobileDeviceAffected:
tags: task
---
Then, my query code is below:
TABLE
Status,
RequestedBy,
Stakeholder,
WaitingWhom,
Impact + Urgency AS "Priority"
FROM
#task
WHERE
Done = false AND
WaitingWhom = [[Person 2]]
SORT
(Impact + Urgency)
That works fine, no issues there as the Persons are links and they are “queriable” in this case.
However, in my framework, sometimes a task is not depending just in one person, but a couple of them or more. So, if I try this, for example (I’ll put only the part that matters), the query somehow will not work:
WaitingWhom:
- "[[Person 2]]"
- "[[Person 3]]"
Things I have tried
I’ve tried this syntax as well, but it is not working:
WaitingWhom: ["[[Person 2]]","[[Person 3]]"]
Even if I let it just one person, but in this format below, it does not work:
WaitingWhom:
- "[[Person 2]]"
What I’m trying to do
Simply put, I need a way to be able to query a column (frontmatter attribute) in a way that it’ll contain 2 or more items. Is this possible?