Sync Harvest time entries when Jira worklog is deleted

Recipe Tools

What it does

When someone deletes a worklog in Jira, this automation searches a lookup table for matching Harvest time entries. For each match found, it deletes the time entry in Harvest and removes the record from the lookup table.

Who it's for

Operations teams who use Jira and Harvest together and need time entries to stay consistent across both platforms.

Apps used

How teams use this

Keep time entries synced across platforms

When a Jira worklog is removed by mistake or after a project ends, the matching Harvest time entry is deleted automatically. Both systems reflect the same hours without manual cleanup.

Prevent duplicate hours in reporting

Finance teams can trust that time reports from Harvest match what is logged in Jira. Deleted worklogs do not leave orphaned entries that inflate billable hours.

Add approval before deleting Harvest entries

Extend this automation to check if the time entry is billable before deletion, or include a notification to a manager for approval. Only delete after the condition is met or approval is granted.

How it works

  1. Detect worklog deleted in Jira. A worklog is deleted in Jira, which signals that a time entry needs to be removed from Harvest to keep both systems aligned.
  2. Find matching Harvest entries. Search the HarvestTimeLog_Map_JiraTimeLog lookup table for all entries that correspond to the deleted Jira worklog so matching records can be identified.
  3. Delete time entry in Harvest. For each matching entry found, delete the corresponding time entry in Harvest so the hours are no longer tracked in that system.
  4. Remove the lookup table record. Delete the entry from HarvestTimeLog_Map_JiraTimeLog so the mapping between Jira and Harvest is cleaned up and stays current.