← Back to blog
Engineering4 min read

How to Automate Standup Notes Using Completed Task History

Learn a concrete workflow to automate standup notes from your task history, using a daily standup template and async standup tools.

Written by the Syncflow team

You can automate standup notes by extracting yesterday's completed tickets, summarising key outcomes, and formatting them into a daily standup template. The result is a concise async standup ready to paste into Slack or Teams.

Collect completed task data from your issue tracker

1. Query the API of your issue tracker (Jira, GitHub Issues, Azure DevOps) for tickets that moved to a Done state yesterday. 2. Request fields: ticket ID, title, assignee, time spent, and any label "blocker". 3. Save the JSON response to a file called `yesterday.json`. The output is a list of objects, each representing a finished task.

Map raw fields to standup bullet points

1. Write a short script (Python, Node, or Bash) that reads `yesterday.json`. 2. For each ticket, produce a line: "* [ID] Title – spent Xh – <optional blocker note>." 3. Append a line "Blockers: none" if no ticket has the blocker label. The script writes `standup.txt` containing plain-text bullet points.

Insert bullets into a daily standup template

1. Store a template file `template.md` with sections: Yesterday: Today: Blockers: 2. Use a templating tool (e.g., `envsubst` or a simple string replace) to replace the placeholder `{{yesterday}}` with the contents of `standup.txt`. 3. The final output `ready.md` matches the daily standup template and can be copied directly into an async standup channel.

Automate the workflow with a scheduled job

1. Create a cron job (or GitHub Action) that runs the script at 07:30 each workday. 2. Add a step that emails `ready.md` to yourself or posts it via a webhook to your async standup tool. 3. Verify the job logs success or failure; on failure, the job sends an alert to your personal Slack. This turns the whole process into a hands-free daily routine.

Worked example: from tickets to a posted standup

Assume three tickets were closed yesterday: - PROJ-101 "Add login API" – 3h – no blocker - PROJ-102 "Fix race condition" – 2h – blocker label - PROJ-103 "Update docs" – 1h – no blocker Your script reads the API response, builds: * PROJ-101 Add login API – spent 3h * PROJ-102 Fix race condition – spent 2h – blocker: needs review * PROJ-103 Update docs – spent 1h It inserts these under the Yesterday section of `template.md`, adds "Blockers: race condition needs review", and posts the resulting markdown to the #async-standup channel at 07:35. No manual typing was required.

For more on writing tickets that feed cleanly into this flow, see How to Write Good Tickets That Your Future Self Can Actually Pick Up.

What usually goes wrong and how to fix it

1. Missing time-tracking data – ensure every ticket has a logged `time_spent` field before closing; add a required field in your workflow. 2. Inconsistent status names – standardise on a single "Done" transition across projects; map custom statuses in the API query. 3. Duplicate entries – deduplicate by ticket ID in the script before rendering. 4. Blocker label not applied – adopt a convention that any ticket with an unresolved comment gets the "blocker" label automatically via a webhook. 5. Cron job never runs – test the schedule locally, then check the system's timezone settings. If the problem persists, fall back to a manual run of the script and inspect the log file for error messages.

When a custom script is overkill

If your team uses a simple spreadsheet for daily updates, export the issue tracker to CSV and use Excel's CONCATENATE function to build the bullet list. This approach lacks the automation of a scheduled job but avoids code maintenance. For very small teams, a free async standup tool like Standuply can pull completed tickets via a built-in integration without any scripting.

Frequently asked questions

How do I pull completed tickets from Jira for yesterday?
Use Jira's REST API with a JQL query like `status = Done AND resolved >= -1d`. Request fields `key,summary,assignee,timespent,labels` and save the JSON response.
Can I use the same script for GitHub Issues?
Yes. Query the GraphQL endpoint for issues with `closedAt` within the previous day, and request `number, title, assignees, labels, closedAt`. Map `closedAt` to the date filter in your script.
What if my team prefers a written daily standup template over async updates?
Generate the same bullet list and paste it into the shared document or Confluence page that hosts your daily standup template. The format remains identical; only the publishing step changes.
Is there a way to include pull-request links automatically?
Add the PR URL as a custom field in your issue tracker or tag the ticket with a "pr:#" label. Extend the script to read that field and append the link after the bullet point.
How do I avoid leaking confidential information in automated standups?
Filter out tickets that carry a "confidential" label before rendering. Keep the script in a secure environment and restrict webhook URLs to internal channels.

Ready to try the one-crumb method?

Your first plan is free, the whole way. No credit card required.

Get Started Free