Ticket Scenario Create
ticket_scenario_createAuthor one Given/When/Then scenario on an owned ticket. This is the specification an epic must carry before it can be completed: record a passing run against it with ticket_validation_finalize, then transition the epic. The server owns revision 1 and returns current_version and current_definition_hash — pass those exact values to ticket_validation_finalize. Authoring a scenario is not evidence; it states what must be proven, not that it was.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| required | No | ||
| ticket_id | Yes | ||
| then_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| when_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| given_steps | Yes | Ordered clause steps; blank-only steps are rejected. | |
| order_index | No | ||
| scenario_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |