# Obsidian Tasks Available

**URL:** <https://forum.obsidian.md/t/obsidian-tasks-available/16410>\
**Category:** Plugins\
**Tags:** plugin-release\
**Created:** [April 12, 2021, 8:35pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410 "2021-04-12T20:35:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 12, 2021, 8:35pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/1 "2021-04-12T20:35:52Z")

</div>

# Obsidian Tasks

The tasks plugin is available from the community repos.  
See GitHub for details:

> **[GitHub - obsidian-tasks-group/obsidian-tasks: Task management for the Obsidian knowledge base.](https://github.com/obsidian-tasks-group/obsidian-tasks)**
>
> Task management for the Obsidian knowledge base.

_As always with these new things: it may do unintended damage to your vault. It is modifying your files (marking tasks as done). Make sure you have a backup._

## Overview

- Track tasks across your entire vault through `- []` checklist items
- Optionally, only track tasks with an identifier like `- [] #task`
- Supports due dates, recurring tasks, and done dates
- List tasks anywhere with a ```tasks block
- Mark tasks as done (or undone) in the file editor, file preview, **or in the rendered ```tasks block.**
- Filter tasks in the ```tasks block by due date, done date, status, and more

## Screenshots

 ![acme](https://forum.obsidian.md/uploads/default/original/2X/2/26cb8ca5d3c2ee7279426ca0e4f3b2d7e9a9ae7a.jpeg)  
Track and list tasks in a note

 ![important_project](https://forum.obsidian.md/uploads/default/original/2X/1/139de9bdbdcaea53f75db3cbfa2c7f4ce002b807.png)  
Track tasks in another note

 ![tasks_queries](https://forum.obsidian.md/uploads/default/original/2X/e/e2314d07a424278ef951229f585b8632f39bc5ae.jpeg)  
Example of different Tasks queries to list tasks from the vault. You can mark them done in the preview on the right and the original source file will update.

 ![modal](https://forum.obsidian.md/uploads/default/original/2X/4/48e66d3d63147cd85916b51b6cc1a2f436e966b9.jpeg)  
A command brings up a modal for more convenient editing of tasks.

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 13, 2021, 1:34pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/2 "2021-04-13T13:34:25Z")

</div>

I released a minor update that you probably want: [Obsidian Tasks 0.2.0](https://github.com/schemar/obsidian-tasks/releases/tag/0.2.0)

# Changes

## Cache now also updates on create, rename, delete

The cache wasn’t update when a file was created, renamed, or deleted.  
Tasks would then list double (as the original and the one from the  
renamed file, for example).

The cache now subscribes to further vault events in order to stay in  
sync with the vault.

## Task blocks now list all tasks by default

When including tasks via a ```tasks block, the results now shall all  
tasks by default, regardless of their indentation.

There is now a new query option `exclude sub-items` to re-enable the  
original behavior.

Before, the result list would only show top-level tasks, which was  
confusing.

---

<div class="post-metadata">

**Author:** ![FrederickYocum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/frederickyocum/32/13114_2.png) [@FrederickYocum](https://forum.obsidian.md/u/FrederickYocum)\
**Post date:** [April 13, 2021, 3:26pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/3 "2021-04-13T15:26:23Z")

</div>

@schemar Thanks, I developed a python-based method of harvesting tasks out of Markdown files. It uses Taskpaper @due(YYYY-MM-DD) tags. This plugin may force a rewrite in my workflow and bring it completely into Obsidian, which is turning into a vortex for content.

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 13, 2021, 6:22pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/4 "2021-04-13T18:22:46Z")

</div>

By the way: if you use the [calendar](https://github.com/liamcain/obsidian-calendar-plugin) plugin, you can create an agenda in your daily note template like so:

````
## Tasks
### Overdue
```tasks
not done
due before {{date:YYYY-MM-DD}}
```

### Due today
```tasks
not done
due on {{date:YYYY-MM-DD}}
```

### Due in the next two weeks
```tasks
not done
due after {{date:YYYY-MM-DD}}
due before {{date+14d:YYYY-MM-DD}}
```

### No due date
```tasks
not done
no due date
```

### Done today
```tasks
done on {{date:YYYY-MM-DD}}
```

````

_You need a recent version of the calendar plugin so that it can render the +14d correctly._

---

<div class="post-metadata">

**Author:** ![a\_wue](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@a\_wue](https://forum.obsidian.md/u/a_wue)\
**Post date:** [April 14, 2021, 2:25pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/5 "2021-04-14T14:25:20Z")

</div>

Wow! That looks very promising! However there seems to be a bug still.  
I installed the plugin from github, pasted your agenda template into a note, and on another page I worte the following todo:

`- TODO take out the trash`

This todo was displayed in every single part of the agenda, i.e. Overdue, Due today, etc., even under Done today.

Any idea? Thanks!

Edit: Could it be that the system date format is important?

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 14, 2021, 2:49pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/6 "2021-04-14T14:49:47Z")

</div>

To use the template, you have to use the calendar plugin and create the daily note by clicking on the date in the calendar. The calendar plugin must be an up-to-date version in order to support `+14d`.

If you don’t use the calendar plugin, for now you have to hard code the dates (set `due on 2021-04-14` etc. in all code blocks).

I plan to [add relative dates in the future](https://github.com/schemar/obsidian-tasks/issues/1) (e.g. `due on today` or `due before in 14 days`), but that isn’t implemented at the moment.

Does that fix your issue?

---

<div class="post-metadata">

**Author:** ![a\_wue](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@a\_wue](https://forum.obsidian.md/u/a_wue)\
**Post date:** [April 14, 2021, 3:20pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/7 "2021-04-14T15:20:57Z")

</div>

Thanks, @schemar! I had already created a daily note via the Calendar template, and pasted your agenda code. That didn’t work. Then I read again that you wrote: “you can create an agenda in your daily note template”. So I deleted my daily note, pasted your code into the daily template, and now it works! Great. Thank you!

---

<div class="post-metadata">

**Author:** ![Cajun](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cajun/32/18445_2.png) [@Cajun](https://forum.obsidian.md/u/Cajun)\
**Post date:** [April 17, 2021, 12:02pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/8 "2021-04-17T12:02:29Z")

</div>

This is a very useful plugin. This will save me a significant amount of time, as there are multiple TODO’s across many areas of my vault. I’ve been testing it and everything works seemless so far. Really easy to set up - thank you for this!

@schemar  
QQ - If I want to eliminate all tasks without a due date and I want a task due in the next 30 days how would I write it. What I have tried so far is not working.

Thanks

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 17, 2021, 7:34pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/9 "2021-04-17T19:34:50Z")

</div>

Thanks @Cajun, happy to hear that.

To your question: I am not sure I understand you correctly.  
Do you want to list all tasks, that:

- do have a due date AND
- are due within the next 30 days?

If so, you would need to use the following and update it by hand every day:

````
```tasks
due before 2021-05-16
```

````

There is an [enhancement](https://github.com/schemar/obsidian-tasks/issues/1) planned where you could write the following, however it isn’t implemented yet and won’t work as of now:

````
```tasks
due before in 30 days
```
````

---

<div class="post-metadata">

**Author:** ![Cajun](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cajun/32/18445_2.png) [@Cajun](https://forum.obsidian.md/u/Cajun)\
**Post date:** [April 18, 2021, 12:30am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/10 "2021-04-18T00:30:33Z")

</div>

> [@schemar](#):
>
> ````auto
> ```tasks
> due before 2021-05-16
> 
> ````
> 
> ```auto
> 
> ```

Thank you for your reply. Sorry, I wasn’t clear earlier. My goal is to be able to look ahead 30 days and view only tasks that **have a due date**. I don’t want to see any tasks that do not have a due date. I have tried your suggestions and it still includes tasks without a due date.

I will continue to work on this. I really like the plugin and all the potential I think it offers! Nice job!

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 18, 2021, 7:43am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/11 "2021-04-18T07:43:01Z")

</div>

If you filter by `due before`, it should only show tasks with a due date. Can you post your ```tasks block?

---

<div class="post-metadata">

**Author:** ![Cajun](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cajun/32/18445_2.png) [@Cajun](https://forum.obsidian.md/u/Cajun)\
**Post date:** [April 19, 2021, 9:00pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/12 "2021-04-19T21:00:07Z")

</div>

This is the task block:

3 ticks before  
tasks due before 2021-04-30

```auto

```

3 ticks after  
It pulls in the 4 tasks that have due dates and 9 others that do not have due dates.

Apologies, I’m not able to add the code.

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 20, 2021, 7:34am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/13 "2021-04-20T07:34:18Z")

</div>

Hm, this looks weirdly formatted. Could you add a screenshot of the tasks block and a screenshot of the result? Maybe then I could identify it.

---

<div class="post-metadata">

**Author:** ![DavMard1ns](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/ecb155/32.png) [@DavMard1ns](https://forum.obsidian.md/u/DavMard1ns)\
**Post date:** [April 20, 2021, 10:16am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/14 "2021-04-20T10:16:57Z")

</div>

Really useful plugin!

Is there any chance to add the following functionality?

- search by #tag of the task? (i.e. #prio1, #prio2, #work, #personal, …)
- schedule tasks on days (start dates)

That would be awesome 🙏🏼 Thank you!

---

<div class="post-metadata">

**Author:** ![Cajun](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cajun/32/18445_2.png) [@Cajun](https://forum.obsidian.md/u/Cajun)\
**Post date:** [April 20, 2021, 4:38pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/15 "2021-04-20T16:38:59Z")

</div>

![ObsToDo-2021-04-20_12-34-54](https://forum.obsidian.md/uploads/default/original/2X/e/e529f08cc6eaa99f73cc42085b1e70e52d4361a4.png)

Here is a screenshot of both.

---

<div class="post-metadata">

**Author:** ![Cajun](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cajun/32/18445_2.png) [@Cajun](https://forum.obsidian.md/u/Cajun)\
**Post date:** [April 21, 2021, 6:07pm UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/16 "2021-04-21T18:07:14Z")

</div>

@schemar Figured it out and it’s working as expected! Really like the plug-in thanks for all your hard work.

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 22, 2021, 7:43am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/17 "2021-04-22T07:43:31Z")

</div>

Glad to hear it. For reference: one needs to put the filter queries on separate lines, one per line.

---

<div class="post-metadata">

**Author:** ![schemar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/schemar/32/11265_2.png) [@schemar](https://forum.obsidian.md/u/schemar)\
**Post date:** [April 22, 2021, 7:49am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/18 "2021-04-22T07:49:46Z")

</div>

Hey there, thank you for the suggestions 🙂  
I added them to the GitHub issue tracker. Please note that I have very limited time and the issue list is long. Progress depends on priorities.

---

<div class="post-metadata">

**Author:** ![Wyn3gard](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/w/87869e/32.png) [@Wyn3gard](https://forum.obsidian.md/u/Wyn3gard)\
**Post date:** [April 22, 2021, 11:30am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/19 "2021-04-22T11:30:30Z")

</div>

I removed all Todo Plugins so far (or deactivated them at least). With the latest release the performance is much better and it works really smooth. Many thanks for this big enhancement and looking forward to further improvements. 🙂 🙏

---

<div class="post-metadata">

**Author:** ![CAD\_O](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cad_o/32/26250_2.png) [@CAD\_O](https://forum.obsidian.md/u/CAD_O)\
**Post date:** [April 23, 2021, 7:29am UTC](https://forum.obsidian.md/t/obsidian-tasks-available/16410/20 "2021-04-23T07:29:29Z")

</div>

How awesome is this plugin ! It completely replaced the hodgepodge of task management plug-ins I previously had. It allows me to manage my project tasks, schedule, keep track and review them easily. Thank you so much for your work, it is really appreciated !

[Next page](https://forum.obsidian.md/t/obsidian-tasks-available/16410.md?page=2)
