Create Defect Matcher
create_defect_matcherCreates a defect matcher that automatically links future test failures to a defect when error messages or stack traces match provided regex patterns.
Instructions
Create a defect matcher (automation rule) for a defect.
Matchers automatically link future failing test results to a defect when the test failure's error message or stack trace matches the provided regex patterns.
At least one of message_regex or trace_regex must be
supplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable matcher rule name | |
| defect_id | Yes | ID of the parent defect | |
| trace_regex | No | Regex to match against stack traces | |
| message_regex | No | Regex to match against error messages | |
| output_format | No | Output format: 'json' (default) or 'plain'. |