Jira Cloud guides

How to Auto-Close Stale Jira Issues With No Recent Activity

Short answer: Use two scheduled Jira Automation rules: one that adds a stale label and a warning comment after N days without updates, and one that closes issues still labelled stale a week later. Add a third small rule that removes the label when someone comments. Watch out for two JQL traps: labels not in (stale) silently skips issues with no labels, and the warning comment itself resets updated.

Rule 1: warn

Rule 2: close

Because the warning comment updates the issue, updated <= -7d here really means "nobody touched it since the warning".

Rule 3: un-stale on reply

Traps and tips

Close on "no reply", not "no edit"

Jira has a read-only Days since last comment field type, but it isn't searchable, so you can't use it in a rule's JQL. A searchable last-comment date makes stale rules accurate.

Last Comment Fields for Jira (by Loomwise, coming soon) adds three read-only fields, Last comment, Last commented by and Last comment date, that work as list columns, in JQL, filters, dashboards and CSV export. Restricted comments are never copied into the fields, and JSM internal notes are skipped by default. Free for up to 10 users, about $0.35 per user per month above that, billed through Atlassian.

See Last Comment Fields   Email us to try it early

With it, rule 1's JQL becomes statusCategory != Done AND "Last comment date" <= -30d.

FAQ

Why does my stale rule miss issues with no labels? In JQL, labels not in (x) excludes issues whose labels are empty. Add "labels is EMPTY OR" to the clause.

Will the warning comment reset the stale timer? Yes, it updates the issue. That is why the close rule checks updated <= -7d after the label was added.

Can I auto-close based on the last comment instead of updated? Yes, if you have a searchable last-comment date field, filled by Automation or an app. Jira's built-in Days since last comment field is not searchable.

Do scheduled rules count toward Automation limits? Yes. Each run that finds work items counts, so prefer one daily scheduled rule over per-issue triggers.

Related guides

Disclosure: Loomwise makes the apps mentioned in the cards above and wrote this guide. Not affiliated with Atlassian. Vote counts and ticket statuses are from jira.atlassian.com as of October 2026. Last checked October 2026; Jira menus and features change, so verify in your site. Contact: hello@loomwise.app