LiquidPlanner Classic Forum
Webhooks and Deleted Items
*Posted on behalf of Anderson Arboleya. Original posting date 2014-09-12.*
Webhooks are not notifying me of deletion of subitens, when I delete some item that has subitems.
For instance imagine this structure:
MyClient
└── MyProject
└──── MyTask
If I delete MyClient, I expect 3 hooks to be fired with "change_type=delete":
- 1 for MyClient
- 1 for MyProject
- 1 for MyTask
But in fact just the delete item - in this case the Project - get its hook properly fired. Is this the proper behavior?
I can workaround it and spread the deletions in cascade-style for the subitens, but it sounds a little weird to me, since I can listen for single Webhooks.
For instance, considering the Task WebHook as an example, it means the that Tasl Webhook is only fired when its deleted, but not when its parent item is deleted.
Looking forward to hear more about this.
Posted by LiquidPlanner Support over 4 years ago
Task Hook not being fired after reestimates
*Posted on behalf of Anderson Arboleya. Original posting date 2014-09-12.*
Hi,
I first sync all my workspace tasks with my database though the LP API and save the last time I synced, so next time I'll use it as a filter ('last_updated after <last-sync-date>') in order to avoid heavy loads and sync only what have changed since my last sync.
Than, I fall in two scenarios regarding Webhooks:
1) When I reestimate some task through editing the task itself, it fires the hooks Estimate and Task,
Note that the Task hook has the change_type='update' but the changes={} object comes empty -- shouldn't it contain the properties `high_effort_remaining` and `low_effort_remaining` that was just updated?
2) When I reestimate some task from inside my timesheet view in "My Work", it fires only the hook Estimate.
This time, the Task hook isn't even fired, which is even worse. So at this point my local task has different estimates than the workspace, and are out of sync.
In an attempt to sync the task again, I then tried also to re-run my sync routine using the API to see if the `last_updated` filter would return me the Task with the new estimates, but instead I got nothing - as if the task hasn't changed at all.
How does it sounds?
Posted by LiquidPlanner Support over 4 years ago
Webhooks Failing - Could not verify SSL certificate
*Posted on behalf of Anderson Arboleya. Original posting date 2014-09-10.*
HI,
I can't get the webhooks to work with my domain, SSL is properly configured:
https://intranet.ginga.ag
However the hooks are not working.. it keeps saying "Could not verify SSL certificate".
------------------
Date/Time Result URL Error (if applicable)
```
10/09/14 03:28 PM failure https://intranet.ginga.ag/hooks/clients Could not verify SSL certificate
10/09/14 03:27 PM failure https://intranet.ginga.ag/hooks/clients Could not verify SSL certificate
10/09/14 03:26 PM failure https://intranet.ginga.ag/hooks/clients Could not verify SSL certificate
```
Am I missing something?
Thanks, Anderson.
Posted by LiquidPlanner Support over 4 years ago
Webhook issue
*Posted on behalf of Ben. Original posting date 2014-07-28.*
Posted on behalf of customer:
"The Webhook isn't sending us any data for the Action "Comment" when we include someone @username within an email we're sending to a LiquidPlanner task. The odd thing is, when we make a comment from within the liquid planner web interface the webhook works correctly and sends data nearly immediately.
Ben"
Posted by LiquidPlanner Support over 4 years ago