cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

when a project is completed | todoist

i need the Trigger

 

when a project is completed in todoist,it will completed in  trello or microsoft plan。

 

 

Status: New
Comments
JvW
Level: Power Up

I have managed to do this by appending the Planner TaskID to the end of the Todoist TaskName. Basically:

When Planner task assigned to me, create Todoist task with the Title built by the following expression:

concat(string(triggerBody()?['title']),' - ',string(triggerBody()?['id']))

 

When Todoist task is completed, update Planner task to Completed where Task ID is the following expression:

substring(triggerBody()?['content'],sub(length(triggerBody()?['content']),28),28)
 
 
It would be much tidier if there was a way to add comments in Todoist tasks, but this works for now.