Back to Templates
Automatically logs time to Jira every night from a Google Sheet. No manual worklog entries needed — just fill in your sheet and the workflow handles the rest at 10 PM.
Built for developers and teams who track their daily tasks in a spreadsheet and want their Jira time entries done automatically, with a clean email report.
status = Pending and date <= todaysplitInBatchesdate + started_atPOST /rest/api/3/issue/ticket_id/worklog) with Basic AuthCompleted or keeps it Pending with an error message and incremented retry_countStep 1 — Set up your Google Sheet
Create a sheet with these exact column headers in row 1:
| ticket_id | log_text | date | started_at | log_time | status | error_message | retry_count |
|---|
ticket_id — your Jira issue key e.g. PROJ-123log_text — worklog comment e.g. Reviewed PR and fixed unit testsdate — date to log against e.g. 2026-04-02started_at — time the work started e.g. 09:30log_time — time spent e.g. 1h, 30m, 1h30mstatus — set to pending for rows to be processederror_message — auto-filled on failureretry_count — auto-incremented on failureStep 2 — Add credentials in n8n
Step 3 — Update the workflow
Read Log Sheet node and select your spreadsheet and sheet tabUpdate Sheet node and do the sameJira: Add Worklog and update the Atlassian domain in the URL: https://YOUR-DOMAIN.atlassian.net/...sendTo email addressJira: Add WorklogStep 4 — Activate
Toggle the workflow to Active. It will run automatically every night at 10 PM.
To test immediately, open the workflow and click Test Workflow.
Jira: Add Worklog to your Atlassian subdomainchatId and textAI Summary node and wire Build Summary directly to the Gmail node; update the email template to remove $json.message.contentdate < today, so any past pending rows are automatically retried on the next run