This follows up #123/#124 with the operator's decision on the reopen rule.
Change
Reopen: when an automated report matches a ticket closed less than AUTO_REOPEN_WINDOW_DAYS (7) ago, the ticket is now reopened to Open, even though prod's Workflow Designer requires admin + comment for Closed → Open.
Why the workflow rule couldn't apply: no unattended reporter can give admin + comment. Under that rule every such report only added a "could not be reopened" note, and 2,110 of them piled up before #123.
People are unchanged: reopening by hand still goes through the workflow.
Audit: the entry reads auto-reopened by <app> (issue recurred; automated reopen skips the Workflow Designer).
recurrence_noted is gone: that response action is no longer returned, and its unused workflow lookup is removed.
Older tickets: tickets closed more than 7 days ago still get a new linked ticket. That rule is unchanged, and it's already working on prod: 703260823 → 425680336.
Not changed (operator decision)
The history comment's "seen N times" count stays as it is: it counts reports, so for 425680336 it says 168 in 7 days.
Verified locally (throwaway DB)
End-to-end: 42/42 with prod's workflow (Closed → Open needs admin + comment) and 42/42 with an unattended transition. Within the window, both now give reopened and the ticket is Open.
Audit: the reopen audit row carries the new reason.
This follows up #123/#124 with the operator's decision on the reopen rule.
## Change
- **Reopen:** when an automated report matches a ticket closed less than `AUTO_REOPEN_WINDOW_DAYS` (7) ago, the ticket is now **reopened to Open**, even though prod's Workflow Designer requires admin + comment for Closed → Open.
- **Why the workflow rule couldn't apply:** no unattended reporter can give admin + comment. Under that rule every such report only added a "could not be reopened" note, and 2,110 of them piled up before #123.
- **People are unchanged:** reopening by hand still goes through the workflow.
- **Audit:** the entry reads `auto-reopened by <app> (issue recurred; automated reopen skips the Workflow Designer)`.
- **`recurrence_noted` is gone:** that response action is no longer returned, and its unused workflow lookup is removed.
- **Older tickets:** tickets closed more than 7 days ago still get a new linked ticket. That rule is unchanged, and it's already working on prod: 703260823 → 425680336.
## Not changed (operator decision)
The history comment's "seen N times" count stays as it is: it counts reports, so for 425680336 it says 168 in 7 days.
## Verified locally (throwaway DB)
- **End-to-end:** 42/42 with prod's workflow (Closed → Open needs admin + comment) and 42/42 with an unattended transition. Within the window, both now give `reopened` and the ticket is Open.
- **Audit:** the reopen audit row carries the new reason.
- **Lint:** phpcs is clean.
No UI change, so this PR has no screenshots.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Operator decision: a report on a ticket closed less than
AUTO_REOPEN_WINDOW_DAYS ago reopens it to Open even though prod's
Workflow Designer requires admin + comment for Closed -> Open. No
unattended reporter can satisfy that, so the rule only ever produced a
"could not be reopened" note on every report (2,110 before #123). The
audit entry records that the reopen skipped the workflow; people still
go through it. The recurrence_noted action is no longer returned.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jared
merged commit 3687b157df into development2026-11-28 03:02:00 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This follows up #123/#124 with the operator's decision on the reopen rule.
Change
AUTO_REOPEN_WINDOW_DAYS(7) ago, the ticket is now reopened to Open, even though prod's Workflow Designer requires admin + comment for Closed → Open.auto-reopened by <app> (issue recurred; automated reopen skips the Workflow Designer).recurrence_notedis gone: that response action is no longer returned, and its unused workflow lookup is removed.Not changed (operator decision)
The history comment's "seen N times" count stays as it is: it counts reports, so for 425680336 it says 168 in 7 days.
Verified locally (throwaway DB)
reopenedand the ticket is Open.No UI change, so this PR has no screenshots.
🤖 Generated with Claude Code