jamiebrynes7 / obsidian-todoist-plugin

Materialize Todoist tasks in Obsidian notes
https://jamiebrynes7.github.io/obsidian-todoist-plugin/
MIT License
890 stars 69 forks source link

[Meta] Unsupported filters #34

Open jamiebrynes7 opened 3 years ago

jamiebrynes7 commented 3 years ago

Despite the claims of Todoist's API docs it seems there are some unsupported filter keywords. This ticket tracks these as we run into them, I'll also report it to Todoist and hopefully over time these will become supported!

thammawat-s commented 3 years ago

hello, API issues in #11 and #33 seems to be working now. If you may please double check. Thanks a lot Jamie.

EagleWins commented 11 months ago

Hey everyone, a newbie here. Have made some progress with your toolset (thank you) but I am really having a hard time pulling in todos that are within projects. I am able to get one project to appear but nothing in a second project.

I am using. This pulls in the tasks within the first project I created, but not the second. Any ideas?

name: My Tasks
filter: "## inbox | today | overdue"
Marco-Mindstone commented 10 months ago

Hi, I am using the following filter to see all tasks that are due next week:

(due: next week | due after: next week) & due before: 1 week after next week

Today is 13 September and the filter pull all the tasks until 26 September.

My "Next Week day" in Todoist is set on Monday, so in this example this query should return tasks from 18 September to 24 September.

Am I doing something wrong?

Thank you

anikiforov commented 9 months ago

The following filter works in the Todoist app/website but not in the plugin. The filter produces empty results in the plugin due to the Todoist API incorrectly returning no items.

@$

Related GET request URL from the log: https://api.todoist.com/rest/v2/tasks?filter=%40%24

The URL with raw filter also yields an empty result: https://api.todoist.com/rest/v2/tasks?filter=@$

Similarly, other filters with $ do not work as expected: @$ food

I've confirmed that other symbols in the filter work just fine. For example, the below filter works, and GET requests with both encoded and raw filters produce the expected results. @⁕

https://api.todoist.com/rest/v2/tasks?filter=@⁕ https://api.todoist.com/rest/v2/tasks?filter=%40%E2%81%95

freifla commented 1 month ago

My filter is set up as follows: "search: {{filename}}"

Unfortunately, the API seems to have problems with vowel mutation (ä, ö, ü) and "()" (brackets).