-
-
Real screen: a field updating after a new comment on our test site
-
Real screen: the LastWord Rovo agent on our test site
-
Labelled illustration (listing image 1)
-
Labelled illustration (listing image 2)
-
Labelled illustration (listing image 4)
-
Labelled illustration (listing image 3)
-
Real screen from our test site (listing image 5)
Inspiration
"Show the last comment in a list view" has been an open Jira request since 2003 (JRACLOUD-2734, 795 votes when we checked on 17 Nov 2026). Teams still open every ticket one by one to see whether the customer is waiting, or whether the last thing said was an internal note the customer never saw. We wanted that answer in the list, in JQL and in Rovo, without data leaving Atlassian.
What it does
- Seven read-only fields on every work item: Last comment, Last commenter, Last comment date, Last public reply, Last public reply date, Days since last comment, Comment count. They work as list columns, in JQL and in saved filters.
- Public vs internal (Jira Service Management): Last comment includes internal notes, while Last public reply only counts what customers can see. JQL like
"Last public reply" is EMPTYfinds requests no customer has heard back on. - Never leaks restricted comments: a comment restricted to a group or role is never copied into any field.
- Live: fields update when a comment is added, edited or deleted. On our test site that took about 2–7 seconds. A daily run keeps "Days since last comment" current, and it re-reads anything that changed since the last run, so an event Jira never delivered is still caught.
- Fill in existing work items: a resumable fill-in from the admin page, with progress, pause, resume, cancel and stall detection.
- Rovo agent "LastWord: who's waiting on us?" with three read-only actions, also exposed as MCP tools:
find-waiting-items: open work items where the team owes the next reply (the reporter commented last, no comments yet, or only internal notes), longest wait first. By default it checks service projects only.find-stale-work: open work with no comment for N days.thread-status: for one work item, who spoke last, whether it was public or internal, and whether the team owes a reply. It uses the work item you're viewing if you don't name one.
Actions search as the person asking, so they only ever see work items that person can see.
How we built it
- Forge app on Atlassian's runtime, with no external calls (no egress).
forge deployreports the build is eligible for Runs on Atlassian. - Forge features used:
jira:customField(7 read-only fields), product event triggers (comment created, edited and deleted, work item created), Async Events queues for the fill-in and lag re-checks, Forge KVS for job state and claims, a scheduled trigger for the daily run, a UI Kit admin page, androvo:agent+action+rovo:mcp. - Writes go through
POST /rest/api/3/app/field/valuewithgenerateChangelog=falseandgenerateAppEvents=false. Tested live: no history noise, and the work item's Updated date doesn't change. - Correctness first: every event re-reads Jira's current comments, so duplicate or out-of-order events end in the same state. Read-after-write lag gets re-checks, and each event gets a late reconcile pass.
- Fill-in engine: steps carry tokens and claims, so duplicate deliveries are harmless. A job lock covers pause and cancel races. A mid-page time budget stops the job running out of time. If Jira rejects a batch write, it retries item by item.
- Tests: 182 automated tests (unit, property-based with fast-check, contract-shaped fakes of the Jira REST API, failure injection) with 99.9% line coverage. Plus a live integration script against a real Jira Cloud site, and two independent code reviews.
Challenges we ran into
- Jira on a real site behaved differently from the docs and our fakes, three times:
GET /fieldleft all seven app fields out on a new site, so we added a fallback to the paginated field search.- New work items without comments had an empty count, so the app now handles "work item created".
- In one batch, 9 of 10 "work item created" events never arrived. That's why the daily run re-reads everything changed since its last run.
- Text search (
~) doesn't match these fields in Jira. We say so plainly rather than promise it. - Whose turn is it when the newest comment is an internal note? The fields alone can't tell, so the agent reads that one thread (as the user) to see whose public comment is newest.
- Work item view: Jira only shows a custom field on a work item once it's in that work item's view (and, in service projects, per request type). We found this on the real site, so the admin page and support page now give the exact steps: Configure → Work item view → add the fields.
Accomplishments that we're proud of
- It works on a real Jira Cloud site end to end: 15 of 16 live checks pass, and the one "fail" is the text-search limit above. The Rovo agent was tried in the real Rovo UI.
- Restricted comments are kept out at every layer: fields, JQL and the Rovo answers.
- Uninstalling and reinstalling kept every field value, which we checked live.
- No data leaves Atlassian.
What we learned
- Treat product events as hints, not guarantees. Always re-read the source of truth, and have a catch-up path.
- Test against a real site early. Two of the three real-site surprises weren't in any fake we could have written from the docs.
- An agent is only as trustworthy as its data. Read-only actions that run as the user, return plain reasons and never guess keep Rovo's answers checkable.
What's next for LastWord
- Marketplace approval. The listing was submitted on 20 Nov 2026 and is in review (ECOHELP-188223).
- Per-project "who counts as the customer" rules (for example, the request participants), so the waiting logic covers more setups.
- A queue gadget: "waiting on us" counts per project on a dashboard.
Built With
- atlassian-forge
- fast-check
- forge-async-events
- forge-kvs
- forge-ui-kit
- jira
- jira-service-management
- mcp
- node.js
- rovo
- typescript
- vitest