Skip to content

PM-5858: Require assignment before ticket closure - #2131

Open
jmgasper wants to merge 1 commit into
devfrom
PM-5858
Open

PM-5858: Require assignment before ticket closure#2131
jmgasper wants to merge 1 commit into
devfrom
PM-5858

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

What was broken
Support Team members could close an unassigned ticket, and the closed-ticket detail did not identify who closed it.

Root cause
The close control checked only Support Team membership, and the UI contract omitted the closer ID already stored by the API.

What was changed
Disable closure unless the current Support Team user is assigned, accept the optional closer ID, and display the matching assignee handle with a stored-ID fallback.

Any added/updated tests
Updated TicketDetailPage coverage for unassigned and assigned closure access, closer-handle display, and legacy closer-ID fallback.

Validation

  • Focused TicketDetailPage suite: 7/7 passed.
  • Lint passed.
  • Production build passed.
  • Full monorepo suite: 1,082/1,109 tests passed; the 27 failures across 18 unrelated suites reproduce the existing baseline and do not touch the Support app.

What was broken
Support Team members could close an unassigned ticket, and the closed-ticket detail did not identify who closed it.

Root cause
The close control checked only Support Team membership, and the UI contract omitted the closer ID already stored by the API.

What was changed
Disable closure unless the current Support Team user is assigned, accept the optional closer ID, and display the matching assignee handle with a stored-ID fallback.

Any added/updated tests
Updated TicketDetailPage coverage for unassigned and assigned closure access, closer-handle display, and legacy closer-ID fallback.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 12, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant