Comment Fields for Jira
Comment Fields adds four automatically maintained, read-only fields to every Jira work item, so comment activity becomes searchable, sortable and usable in automation. Install it from the Atlassian Marketplace; searching and reporting work straight away, and one short admin step puts the fields on the issue view (see Setup below).
The four fields
Field | Type | Contains |
|---|---|---|
Last comment | Text | The newest comment as plain text, truncated at 500 characters. |
Last commenter | User | Who wrote it. Works with |
Last comment date | Date and time | When it was posted. |
Comment count | Number | How many comments the work item has. |
Setup
What works immediately. As soon as the app is installed, the four fields exist site-wide. You can use them in JQL, as issue navigator columns, in saved filters, dashboard gadgets, Automation rules and CSV/Excel exports with no configuration at all.
Values appear with comment activity. The fields are computed when a comment is added or deleted, so they start out empty on existing work items and fill in as people comment. To see them working right after install, add a comment to any test work item — the fields update within a few seconds. There is no backfill of historical comments yet.
Showing the fields on the issue view. Like every custom field from a Marketplace app, Jira keeps the fields off your screens until an administrator adds them — this is standard Jira behaviour, not an app setting. For company-managed projects:
Go to Project settings → Screens in the project where you want the fields (or, site-wide, Settings ⚙ → Issues → Screens).
Expand the screen scheme and click the screen used by your issue types (projects often have one screen per operation — add the fields to the view screen at minimum).
At the bottom of the field list, open the Select Field dropdown and add each of the four fields: Last comment, Last commenter, Last comment date, Comment count.
Repeat for any other screens or projects that should show them.
Open any work item with a comment (or add one) and the fields appear in the details panel:
Team-managed projects. Jira doesn't let app fields be placed on team-managed issue views, so the details-panel display above is company-managed only. Everything else — JQL, filters, navigator columns, exports and Automation — works for team-managed work items too.
Searching
Type the field names in JQL — autocomplete picks them up like built-in fields.
The queries most teams start with:
status = "In Progress" AND "Last comment date" <= -7d("Comment count" IS EMPTY OR "Comment count" = 0) ORDER BY created ASCassignee = currentUser() AND "Last commenter" = currentUser()assignee = currentUser() AND "Last commenter" != currentUser() AND "Last comment date" >= -3dQuote the plain field names exactly as above — JQL autocomplete may also offer suffixed variants like Comment count[Number], but the plain quoted names are the ones that work everywhere.
A query and its results:
Save any of these as a filter and it works in boards (quick filters), dashboard gadgets, subscriptions, and Automation. In Automation rules the values are available as smart values: {{issue.Last comment date}}, {{issue.Comment count}}, {{issue.Last commenter.displayName}}.
A scheduled rule that nudges stalled work, built entirely on the fields:
On boards, add the fields to the card layout (Board settings → Card layout) to see comment activity at stand-up without opening anything:
Troubleshooting
“I installed the app and nothing happened.” The fields don't show on the issue view until an admin adds them to the project's screens — see Setup above. They are already live in JQL: search
"Comment count" >= 0to confirm the app is working.The fields are on the screen but empty. Values are computed from comment activity after install. Add or delete a comment on the work item and they fill in within a few seconds.
JQL returns nothing. Use the plain quoted names (
"Last comment date", notLast comment date[Time stamp]) and remember empty fields don't match comparisons —"Comment count" = 0only matches work items that have had a comment added and later deleted or a recompute; use"Comment count" IS EMPTY OR "Comment count" = 0to catch never-commented work.
Limitations
~(contains) doesn't work on Last comment — Jira doesn't full-text index app fields. For word search inside comments use Jira's built-incomment ~ "text"; these fields add what that can't do: recency, author and volume.Editing an existing comment doesn't recompute the fields; they catch up on the next comment added or deleted.
Comments with restricted visibility (for example, internal role-limited comments) are never surfaced in Last comment.
Field names are fixed. Visibility works like any custom field and honours issue security.
Support
Questions, bugs, feature requests: Comment Fields support portal. Include your site URL and, if relevant, a work item key.