Hi,
I am trying to build an app using onTimesheetCreate and onTimesheetUpdate events in Freshservice.
However, there isn’t any event triggered when timesheet is deleted in Freshservice. How are we supposed to handle delete cases?
Is there any alternative for this other than polling for changes?
Hi @conbombulated
Freshservice does not expose a marketplace product event for timesheet/time-entry delete (only onTimesheetCreate / onTimesheetUpdate), so your app cannot subscribe to deletes
However you can delete time via the REST API (DELETE …/api/v2/{tickets|problems|changes|releases}/{parent_id}/time_entries/{id} per the Freshservice API v2 docs), but ofcourse this doesn’t tell you when someone deletes something in the UI.
Hope this helps
1 Like