Obsidian Tasks Series, Part 3 - Creating and Editing Tasks
Welcome back to this little mini series on the Obsidian Tasks Community Plugin. I'm setting up a new vault and going all in with the Obsidian Tasks plugin. In this series, I'm walking you through all of the experimentation and learning I've done along the way to get to the place where I feel confident using Obsidian Tasks to replace all other task management tools - and to create the task management system that works the way I work. There is a YouTube video to accompany each article in this series so feel free to check that out. The videos and and articles roughly parallel one another.
As we begin, here is a rough plan for the series so you can see where we are and what's coming next. As we continue in the series, I'll come back and update links to future articles so you can easily navigate between the parts of the series.
Creating and Editing Tasks with the Obsidian Tasks Plugin <- You Are Here
Querying Your Tasks in Obsidian
Using Task Queries in Obsidian
Exploring Recurrence with the Obsidian Tasks Plugin
Exploring Project Management with Obsidian Tasks
Building Your Own System Using Obsidian Tasks
Backstopping Your Task Management System
Works Well with Obsidian Tasks Community Plugin
Today, we're looking at all the ways you can create and edit tasks - inline as well as using the Create/Edit Task modal. Next in the series, I'll show you how to write queries that pull your tasks together into different views.
Giving specific thought to how you work and how you want to enter and see tasks of different types is incredibly important in building a system that works for you. So letβs dive in and learn the anatomy of tasks in Obsidian.
Connecting Checkboxes and Tasks
If you, like me, want to have both checkboxes that function as checklists as well as tasks that can be found using Obsidian Task Queries, then you will need to add whatever text you've decided on as your global task filter on any checkbox item to make it a task. You can do that in one of two ways.
To see this in action, I'm going be updating a few tasks from my upcoming trip to Australia. That template has a basic checklist of items that need to be thought about/completed for any new trip.
First, you can just type the global filter anywhere in the checklist item to turn that checklist item into a task that is queryable. In the image below, I've added the global task filter to two checkbox items from my project template.
The other way to apply the Global Task Filter to a task is to use the Create Edit Task Modal. When your cursor is in the line of any task, you can use the Command Palette or a hotkey you have set up to open the Create/Edit Task Modal and it will automatically open the modal with the text of that task in the description field. If you do nothing else to that task in the modal, but click the Apply button on the modal (or just hit Enter/Return on your keyboard), the global task filter will also get added to the task. If you don't know how to set up a hotkey, I walk through that in the video. It's a huge timesaver, so it's something I highly recommend.
The Anatomy of a Task
Let's use a couple more of the items from the Australia Trip to explore the anatomy of a task. This is what the Book air task looks like if I click in that line and open up the Create/Edit Task modal.
The modal shows all except one option that you can add to a task. Let's look at that one option first and then we'll explore the options in the modal.
Note: I don't typically use the keyboard shortcuts that are available in the task modal. That said, you can navigate through the create/edit task modal using keyboard shortcuts with a few limitations. Check out this link to learn more.
On Completion
The option that you cannot add from the modal is the "on completion" option. It is signified with a checkered flag (π) and can be modified with nothing, the default option of keep, or the option to delete. At present, the ONLY reason I can think of to use this option is if you want to delete a task after it is checked off. In that case, you would add "π delete" to the task. When you check off that task, it will be deleted. In the final article/video in this series, I'll also highlight a community plugin that can be used to batch archive and delete tasks.
Description
The description is what you type into the description box in the Tasks modal. What I consider to be limitations of the description box in the modal are also why I think it's important to know both how to edit tasks inline as well as with the modal. Descriptions of Obsidian tasks can include plain text, markdown used for formatting (highlighting, bold, italics, etc.), links to other pages/files in your Obsidian vault, links to external resources, and tags. The image below shows the book accommodations checklist item with an internal link, external link, and what I use in my system as a project tag.
If I'm creating a task that is this detailed, I typically do it inline because the modal will not pull up my tag selector or page selector when I start typing double brackets to link to a page or start typing a hashtag to access my tags. Those options are only available to me inline. Using the inline and create/edit modal are not exclusive so set the options you need inline and then edit the task in the modal to set dates or other items.
Priority
Obsidian supports five custom priority levels plus the default "Normal" priority. You can use some, all, or none of these. Here is the emoji structure for priorities.
This is what the priorities look like when used in a task. I chose to put the priority indicator at the start of the task, but it can also go after the description.
I don't use priorities in my task management system. That said, priorities factor into a calculation that the tasks plugin uses to display tasks to you based on their urgency as defined in the Obsidian Tasks plugin. If priorities are important to your task management system, it's valuable to spend some time reviewing that information.
Dates
Dates are split into two sections in the modal. The first section, which is right under priority is where you set recurrence as well as where you set dates for when you want to do a task. There are three dates you can use to trigger when you want to do a task. You can use some, all, or none of these on a task.
The other section of dates is after the status section near the bottom of the modal. These are dates that are set for when the task was created, completed, or cancelled. Depending on your settings in the Obsidian Tasks Community Plugin, these may be set automatically when you use the modal.
This image shows how I (think) I'm going to leave my dates set in my system - created date off but the other two are on. We'll talk more about why I've settled on these choices in the video and article on building your own task management system.
Regardless of what settings you make in the Community Plugin Settings, you can add or change these dates using the modal or inline.
As you build your own task management system, you'll definitely want to give some thought to what dates you use, when you add them to tasks, and how you backstop against them. If you're new to the Tasks plugin or using this series to jump back into the plugin and revamp your system, I think it's a good idea to think about how you want to see your tasks in different groupings as you consider what dates you want to use. When we talk about queries in the next few videos and articles, that may help you get some clarity on this topic.
Let's look quickly at the six types of dates.
Each date type requires something called an argument. That is simply the date that you are assigning to that specific type of date in that task.
Let's consider our task of Book air for a moment. I am often planning way, way in advance for trips. (We have a trip to Japan that we're planning in 2029!) Airfare for that trip will not open until about 11 months before we plan to go. While we're regularly checking current airfare to tweak our budget for the trip, the task on my project for that page has a start date of February 1, 2028 since that's the first possible date on which I might want to book air for that trip.
The argument in this example for the start date is 2028-02-01.
What dates you use in a task is really critical to consider as you think about your queries.
Recurrence
Recurrence is a complicated enough concept that I'm going to do a separate article and video completely on recurrence. For right now, what you need to know is that recurrence has a very specific syntax AND that the symbol for recurrence is π. If you want to dig in more on your own before that article and video, feel free to check out the Obsidian Tasks documentation on recurrence.
Dependencies
The other section of the Task Modal are the two boxes for before and after. These allow Obsidian Tasks to function as a lightweight project management tool. Again, this is a complicated enough concept that we're going to dedicate an entire video and article to it as well. If you want to dig in before that here is the link to the Task Dependencies documentation.
Status
As we discussed in the article and video on statuses (#Obsidian Tasks Series, Part 2 - Task Statuses) , you can also assign or change the status of a task from the modal.
Putting it all together
Let's take a look back at the task for booking accommodations for our Australia trip and let's set a few dates for that specific task. I want to book air between four and six months before the trip so let's imagine this trip is July of 2026. That means the earliest I want to book the airfare is February 1. I've added that as a start date. I definitely want this done four months before the trip so I'll set a due date of April 30. And, although I'm not planning to use priorities in my task management system, I'll give this task a high priority.
Here is what all of that looks like in the Create/edit task modal.
Notice that I used natural language for the due date - just typing in the words April 30. Obsidian automatically filled in the date for me as I was typing. You can also use things like next Monday or next Month. That will also work.
This is what the task looks like in my note with all of those additions:
Adding Tasks Inline
You can also add tasks directly inline in your notes - essentially typing everything in on your own as you are typing the task. I use the two methods - typing inline and using the modal - about half and half each. And, as I already mentioned, if you're adding details to your notes like internal and external links and tags, that can be easier doing in right in your note.
You can simply add the emoji symbols and arguments directly into a task as you edit it in the editor or, my preferred method, is to use the tasks auto suggester. To use this option, you first need to make sure that the auto suggester is turned on in the Tasks Community Plugin Settings.
To review these settings, go to the settings menu in Obsidian (Command/Ctrl P, Open Settings) and then scroll down on the left until you find Tasks under Community Plugins. Click that and then scroll down on the right until you find the Auto Suggest options. I turned these on and then left the min and max options at the defaults. This is what my settings look like.
With this option turned on, an auto-suggest menu will appear on any checkbox item as soon as you create it. Another wishlist item I've come up with for Obsidian Tasks as a result of writing this series is that I wish that for those of us using the Global Filter that the auto suggester would NOT appear until I apply the global filter to that checkbox. The image below shows the auto suggester appearing as soon as I create the checkbox. This added safety net would be nice to keep me from accidentally forgetting to add my global filter to a task. We'll talk more about this in the article/video on building backstops in your task management system.
The auto-suggest menu is a great way to quickly add tasks right in the editor. One added caution that I didn't think to make in the video, but will make here is that the auto-suggest menu will allow you to create a task inline that recurs but has no start, due, or scheduled date. However, tasks without at least one of those dates that are recurring will not function as you think they should. Again, we'll cover all of this in the video on recurrence. For now, just try to remember when using the auto-suggester that you must have at least one date - due, scheduled, or start - on a recurring task.
I'd love to know if you're following along with this series - what has been the high point for you so far? What do you have questions about?