Lesson 4 of 6
Lifecycle, triage and routing
18 min
Listen to this lesson
A defect moves through a set of states from discovery to closure. The exact names depend on the tool and the program, but the shape is nearly universal. What matters is that every state has an owner and a clear exit condition, so that no defect sits in limbo and nobody closes one without proof.
States and exit conditions
- New: exits when triage confirms it is a valid, reproducible defect and sets priority and owner.
- Triaged / assigned: exits when the fixer starts analysis. If the fixer needs more information, it goes back to the tester, not into a silent queue.
- In fix: exits when the fix is built, unit tested in DEV and the transport is released, with its number recorded on the defect.
- Ready for retest: exits only when the transport is imported into the test system, not merely released. The tester then re-runs the failed case.
- Closed: the retest passed and evidence is attached. If the retest fails, the defect is reopened with the new evidence.
- Rejected or deferred: requires a reason and, for deferral, an owner and a target date or release.
In SAP Cloud ALM, a defect is a task type. You create it in the Test Execution app from the failed test run (for a manual test, from the failed test action) or directly in the Defects app, and the test case and run are linked for you. SAP's help describes the flow: the processor sets the status to In Progress; once the correction is done, sets it to Retest Required and makes the original reporter the Responsible person, who is notified; the reporter retests in the Test Execution app and, if the retest passes, sets the defect to Closed. A closed defect is not locked and can be reopened, and open defects carry over into the next test run of the same test case. The defect statuses are not customizable (SAP Community material lists New, In Progress, Retest Required, Postponed and Closed), and status options can change between Cloud ALM releases, so check your tenant. Many programs add tags for finer sub-statuses, such as waiting for an SAP case. If an issue recurs in another test run, assign the existing defect to that run rather than logging a duplicate; only defects that are not yet closed can be assigned.
Triage
Triage is a short, regular meeting (daily during intense test cycles) that looks at new and stuck defects. Typical attendees are the test lead, the functional leads for affected areas, a development lead and, for priority decisions, the process owners or their delegates. Triage confirms each new defect is real and not a duplicate, sets priority, assigns an owner, and reviews defects that have aged beyond their target. It is not the place to fix defects; it decides who will.
- Review new defectsReal and reproducible, or a duplicate?
- Set priorityWeigh business urgency with the process owner
- Assign an ownerRoute to functional, development, security, integration or data
- Review aged defectsChase defects past their target age
- Close the meetingDecisions recorded on each defect; nothing is fixed in the room
Routing to the right team
| Symptom | Likely team | Contoso example |
|---|---|---|
| Wrong price, tax, account or output from standard configuration | Functional team for that area | Revenue account determination for fleet billing |
| Short dump, custom field missing, enhancement logic wrong | Development | Fleet contract check enhancement raises a runtime error |
| Missing authorization message, user cannot open an app | Security and authorizations | Billing clerk role lacks the app needed to release billing |
| Message not sent or received, mapping wrong | Integration | Electronic invoice to Great Lakes Fleet Services rejected by partner |
| Missing or wrong master data from the load | Data migration | Product CMC-ALT-100 lacks plant data for 1720 |
| Suspected error in SAP standard code | Functional or development lead, then SAP via an incident | Standard app behaves differently from SAP's documentation |
Routing by symptom. The first guess may be wrong; triage reassigns quickly rather than letting a defect bounce.
- Does analysis point to SAP standard code?Yes → go on · No → route to the project team that owns the area
- Is there an SAP Note with a known correction?Yes → apply it in DEV and transport it like any fix · No → go on
- Has a lead opened a case with SAP in SAP for Me?Yes → record the case number on the defect · No → raise it now
- Has SAP's correction been applied and retested in QAS?Yes → close the defect with evidence · No → keep it open
What would you do?
A developer marks defect 214 as "fixed" and sets it to ready for retest. The transport has been released in DEV, but the next QAS import is tomorrow night. What should happen?
- Lifecycle: new, triaged, in fix, ready for retest, closed; with rejected and deferred as reasoned exits.
- Ready for retest means the fix transport is imported into the test system.
- Closure requires a passed retest with evidence; failed retests reopen the defect.
- Triage validates, prioritizes and assigns; it does not fix.
- Route by symptom to functional, development, security, integration, data or, via a case, SAP.
Check your understanding · not graded
Lesson check
1. When is a defect truly ready for retest?
2. What must happen before a defect is closed?
3. A user cannot open the app needed to release a billing document and sees a missing authorization message. Which team should get the defect?
4. What is the main purpose of a triage meeting?