I have web hooks setup and getting events of the project but when a task is completed, there is no obvious information to signify the task was completed. All I can see is that I get a task changed status and then when requesting the task the Completed property is true, but there is now way for me to tell if that is new or not and in most cases I am getting multiple events of the task has changed in this case which is not good? Am I missing something? Any advise or information on how to capture the completed event of a task would help. Thanks!
So I was able to accomplish what I needed to do by watching the events to new stories and watching for the system story of the task being completed. Not sure if this is the recommended way though it works. Any advice is appreciated.
Hey, James, I moved this over to the Platform Feedback subcategory.
Yeah, our webhooks could be a little bit more explanatory, and we’ve identified this as a potential improvement. And you aren’t alone in simply monitoring the stories of a task as well; for some flows that’s really the only way to do it. It’s not ideal, because stories are designed to be informative and weren’t created as an audit log (for instance, you can delete them), but if you’re OK with that risk it works.
Finally, the only other thing I want to warn you about is internationalization: if you never change locale, you probably won’t have any issues, but if a user in a different locale uses your integration, the phrase might become translated - we’re not sure quite yet what to do about that. So keep an eye out!
On the bummer side, there really isn’t a better way than either re-fetching the task or reading the story but we definitely have identified both as API opportunities!
May I suggest the same request for task deletion.
Would be nice to have action=removed or action=deleted in the event payload, instead of having to query for a non-existing task and handling the “not found” response.
Hey Just a question on if this has been updated?
My use case is that I have a workflow that needs to be triggered whenever a task is completed.
Right now I run the risk of misfiring that workflow because someone updated a description or tagged the task after completion.
What would be amazing would be to add add a category to the action called completed for tasks
Any plans on a solution like this in the near future?