When a Jira Epic is marked Done, the agent compiles tasks and comments to generate an automated Lessons Learned report in Google Docs.
Verified 2026-07-07
Developer-Engineering
What it does
Get automated Lessons Learned reports in Google Docs as soon as your Jira Epic is marked Done. The agent gathers tasks and comments from Jira Software to create a structured summary without manual effort.
How it works
When it runs
Triggered by an event · Event · on Epic Done status
How hands-off
Assists you, you do the final step
Setup
An afternoon · about an afternoon
Works with
Jira Software, OpenAI Chat Model, Google Docs
Tools that fit
Services
Jira Software : Trigger and fetch epic data
Google Docs : Store final report
LLM
OpenAI Chat Model : Generate report content
Watch out for
⚠ Jira API rate limits can block the run, add exponential backoff logic to handle throttling errors gracefully.
⚠ Sensitive project details might leak into the LLM prompt, so strip out PII or confidential identifiers before sending data to OpenAI.
⚠ Google Docs permissions may prevent the script from editing the file, ensure the service account has editor access to the target folder.
⚠ Long comment threads can exceed token limits, implement a truncation strategy that keeps the most recent or highest-voted comments first.
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.