+ Add Question

Postpone: by several days, and API

VP

Suppose I have a tasks that recurs every month. It's due today (April 1st) and I want to postpone it to next Monday.

It does not appear I can do that via web site. The 'postpone' command would postpone to next occurrence, and if I modify date directly, the task is no longer recurring. So I can either keep postponing it for a week, even when I know beforehand there's no chance I'll get to it until next Monday, or I can mark this occurrence done, and create another task. Neither is particularly ugly.

So, OK, I am sure I can hack this myself? The API reveals that task has due_string and due_date, and I can modify the latter. Except, there's no API to set due_date directly. There is 'updateRecurringDate' API call that appears to match the 'postpone' command (when applied to recurring tasks). But I cannot see any API that would allow me to set due_date to week from now. Am I missing something?

All responses

David Trey staff
Replied on Apr 01, 2013 - 11:13 UTC

Hello Vladimir,

We strongly recommend not to alter your tasks this way as we can't guarantee that your due dates will remain in tact or any other unforeseen issues may occur.

Aside from the two options you've mentioned, there a third one - neither postpone nor change the task's due date, but simply leave it overdue. By default, the "today" and "7 days" views on the web always include overdue tasks. The task count next to "today" as well as the number on the Chrome plugin will turn red when there are overdue tasks and they're always being included in this count so you won't miss this task and when you have the time to complete it - simply check it off and it will move to its next occurrence regardless of how many days it's overdue.


Best regards,
David

VP
Vladimir Prus premium
Replied on Apr 01, 2013 - 11:19 UTC

David,

well, right now there's no published API to do that anyway.

The problem with your proposal is that my today screen already has a dozen or a two of tasks. Visually scanning it is inconvenient, and adding tasks that I *know* are not actionable until later will make it even harder.

If you have 'do it today', why not 'do it tomorrow' or 'do it next week' or 'do in on X'?

David Trey staff
Replied on Apr 01, 2013 - 11:33 UTC

Vladimir,

We will consider adding more "Do it..." options in the future. Reg. my suggestion - you wouldn't have to add new tasks. If you leave the task unchanged, it would stay overdue until you complete it.

Alternatively, you could use labels as a secondary method of setting dates. Simply type @8/1 within the task's name and when you click on the @ link below the search box, you'll see a list of all your labels and can find tasks with any label from the list.


Best regards,
David

VP
Vladimir Prus premium
Replied on Apr 01, 2013 - 11:37 UTC

David,

thanks for considering the suggestion.

What I meant that instead of having a task disappear from my default screen for a week, it will be still there, distracting from other genuinely outdated tasks. And, BTW, overdue task will reduce my karma.

Can you advise me whether there's an API for 'do it today' operation?

David Trey staff
Replied on Apr 01, 2013 - 14:37 UTC

Vladimir,

Postponing tasks also reduce Karma. Reg. the API - it should be possible when using /API/updateItem https://todoist.com/API/help#items


Best regards,
David