Admin CRM — Ticket Use Cases

A. Document controlA. Kiểm soát tài liệu

Doc IDCPG-UC-CPG-CRM_UC_Ticket
VersionPhiên bản1.0
StatusTrạng tháiDraft
OwnerCPG BA / Architecture
AudienceĐối tượngBA, QA, Product, Frontend, Backend
ClassificationPhân loạiInternal
Effective dateNgày hiệu lực01/12/2026
Related docs CRM Ticket TC · CRM Ticket FSD

B. Version historyB. Lịch sử phiên bản

Version Date Author ChangesThay đổi
1.0 01/12/2026 Khoa Trinh Version 1.0

C. Table of contentsC. Mục lục

D. ContentD. Nội dung

Catalog

UC ID Name Linked TC count Categories
UC-TKT-01 Load Support Tickets page 19 Function, NFR
UC-TKT-03 Start Working changes status 5 Function, Security
UC-TKT-05 Resolve ticket 2 Audit, Function
UC-TKT-04 Reassign ticket 4 Audit, Function, Security
UC-TKT-06 Open Comments tab 14 Function, Security, Validation
UC-TKT-07 Add internal comment 3 Function, Security
UC-TKT-08 Add comment with mention 3 Function

Use cases

UC-TKT-01 — Load Support Tickets page

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Load Support Tickets page
  • Primary BR (from TC): 3.1.1

Linked test cases

Representative preconditions

Tickets exist

Representative main flow

Click View

Expected outcome

Navigates to Ticket Details page

UC-TKT-03 — Start Working changes status

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Start Working changes status
  • Primary BR (from TC): 3.1.1

Linked test cases

  • TC-TKT-017 — Start Working changes status (Function)
  • TC-TKT-018 — Start Working assigns user (Function)
  • TC-TKT-019 — Start Working on In Progress (Function)
  • TC-TKT-020 — Start Working permission check (Security)
  • TC-TKT-024 — Update ticket status (Function)

Representative preconditions

Ticket status Open

Representative main flow

Click Start Working

Expected outcome

Status becomes In Progress

UC-TKT-05 — Resolve ticket

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Resolve ticket
  • Primary BR (from TC): 3.1.2

Linked test cases

Representative preconditions

Ticket In Progress

Representative main flow

Change status -> Resolved

Expected outcome

Ticket appears under Resolved tab

UC-TKT-04 — Reassign ticket

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Reassign ticket
  • Primary BR (from TC): 3.1.2

Linked test cases

Representative preconditions

Ticket exists

Representative main flow

Change assignee -> Update

Expected outcome

Assignee updated, send mail to new assignee

UC-TKT-06 — Open Comments tab

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Open Comments tab
  • Primary BR (from TC): 3.1.3

Linked test cases

  • TC-TKT-028 — Open Comments tab (Function)
  • TC-TKT-029 — Add public comment (Function)
  • TC-TKT-035 — Upload allowed attachment (Function)
  • TC-TKT-036 — Attachment size validation (Validation)
  • TC-TKT-037 — Attachment type validation (Validation)
  • TC-TKT-038 — Attachment limit (Function)
  • TC-TKT-039 — Empty comment validation (Validation)
  • TC-TKT-040 — Attachment-only comment (Function)
  • TC-TKT-041 — Comment ordering (Function)
  • TC-TKT-042 — Comment timestamp accuracy (Function)
  • TC-TKT-043 — Internal label visibility (Function)
  • TC-TKT-044 — Unauthorized ticket access (Security)
  • TC-TKT-049 — Attachment download permission (Security)
  • TC-TKT-050 — Attachment download blocked (Security)

Representative preconditions

Ticket exists

Representative main flow

Add comment

Expected outcome

Timestamp correct

UC-TKT-07 — Add internal comment

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Add internal comment
  • Primary BR (from TC): 3.1.3

Linked test cases

  • TC-TKT-030 — Add internal comment (Function)
  • TC-TKT-031 — Internal comment hidden from merchant (Security)
  • TC-TKT-045 — Merchant cannot add internal comment (Security)

Representative preconditions

Ticket exists

Representative main flow

Check Internal -> Add

Expected outcome

Internal comment added

UC-TKT-08 — Add comment with mention

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Add comment with mention
  • Primary BR (from TC): 3.1.3

Linked test cases

  • TC-TKT-032 — Add comment with mention (Function)
  • TC-TKT-033 — Mention search filtering (Function)
  • TC-TKT-034 — Mention will trigger notifier (Function)

Representative preconditions

Users exist

Representative main flow

Type @kh

Expected outcome

Matching users shown

E. ReferencesE. Tham chiếu