Is it possible to have an API or trigger for recurring tasks | Task Board plugin integration #3479
-
Hello Tasks community! I am the developer of Task board plugin and I have always tried to provide a full integration of Tasks plugin inside Task board. As of now, I have been able to integrate most of the functionalities/properties which are supported by Tasks plugin, such as Created date, Start date, Schedule date, Dude date, Completion date, priority, task status, etc. (Some of these functionalities will be released in upcoming version, But, I got stuck when It came to recurring tasks. This concept is a little difficult for me to understand and took me some time to completely grasp it. I have kind of gone through the complete page on recurring task of Tasks plugin docs. And based on this I feel that, this is a very challenging concept both to implement and to use it properly without any confusion. Tasks plugin has very well handled it as of now. But there are few places where it confuses me, hence I came up with few new ideas, which I would like to first implement in Task Board first and if worked well, I would like to contribute the same in Tasks plugin in future. I have discussed the same in my this comment : tu2-atmanand/Task-Board#143 (comment) For now, the best integration approach I can think of is let Tasks plugin itself handle the automation part as well as adding the recurring property to a task, instead of me re-inventing everything, which will take a significant amount of time. The only issue I am facing is, and which is also has created a sort of bug in my plugin is that, the recurring rule trigger is not executing when any recurring task has been marked as complete through Task Board. The reason for this is, since Task board basically replaces the old content with the new content which modifies the checkbox status from To solve this bug, I can trigger this action by first finding the task inside the note and then trigger a checkbox click event for that task. Although I havent researched on how to do this yet. But the reason for creating this topic is to learn if there is any better approach for this effective integration or if there is any API provided by Tasks plugin. This topic is for Tasks plugin developers as well as Tasks plugin users to share their thoughts on what will be the best approach for this integration. Thank you in advance, looking for your suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi, There is a method on the Tasks API that enables other plugins that, I believe, already does what I think you are asking for: It knows all about the Tasks settings, like custom statuses. And it supports recurring tasks. There is a GitHub search in the docs showing which other plugins have adopted it. If that is not what you meant, please provide a summary of your question(s). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I searched the docs but didnt found my answer so asking here. If there is such a functionality in Tasks plugin. Then will the API going to return only the final output ? |
Beta Was this translation helpful? Give feedback.
-
BTW, I completed the integration. Thank you for your quick responses, I was able to achieve it faster. Even better, in Task Board you can put sub-tasks and description to the recurring tasks. |
Beta Was this translation helpful? Give feedback.
Hi,
There is a method on the Tasks API that enables other plugins that, I believe, already does what I think you are asking for:
It knows all about the Tasks settings, like custom statuses. And it supports recurring tasks.
There is a GitHub search in the docs showing which other plugins have adopted it.
If that is not what you meant, please provide a summary of your question(s).