qase_triage_defect
Create a defect from a test failure by providing title, actual result, and severity. Reference failing results in the actual result to maintain traceability.
Instructions
Create a defect from a test failure. Requires title, actual_result, and severity. Note: the API offers no way to attach existing runs or results to a defect — the runs/results seen on a defect are populated by the test runner when a result is reported as a defect. Reference failing results in actual_result instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code (2-10 uppercase letters, numbers, or underscores) | |
| tags | No | ||
| title | Yes | Defect title | |
| severity | Yes | Required by the API | |
| attachments | No | ||
| description | No | ||
| custom_field | No | ||
| actual_result | Yes | Observed behavior. Required by the API |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| defect | No | Full defect entity | |
| defect_id | Yes | Created defect ID |