update_case
Update an AIO test case by modifying specified fields (title, description, precondition, status, priority, steps). The response includes previous values for rollback, enabling safe reverts of changes.
Instructions
Update an AIO test case. Changes only explicitly passed fields (title, description, precondition, status, priority, steps). Response includes rollback with previous values, especially for steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Полный список шагов. Каждый шаг: { step, expectedResult, data? }. Если есть id — обновляется существующий шаг. Чтобы откатить, передай rollback.steps из ответа. | |
| title | No | Новое название кейса | |
| status | No | Статус: Draft, Under Review, Published, Deprecated, Not integrated — или ID из конфига проекта | |
| priority | No | Приоритет: Critical, High, Medium, Low, Lowest — или ID из конфига проекта | |
| projectKey | Yes | Ключ проекта в AIO (например, BON) | |
| description | No | Описание (Description). Пустая строка очищает поле | |
| testCaseKey | Yes | Ключ тест-кейса (например, BON-TC-170) | |
| precondition | No | Предусловия (Pre-conditions). Пустая строка очищает поле |