cases

Update test case

This method updates a test case.

patch/case/{code}/{id}

Path parameters

codestring required

Code of project, where to search entities.

idinteger required

Identifier.

Request body

descriptionstring
preconditionsstring
postconditionsstring
titlestring
severityinteger
priorityinteger
behaviorinteger
typeinteger
layerinteger
is_flakyinteger
suite_idinteger
milestone_idinteger
automationinteger

Deprecated, use isManual and isToBeAutomated instead. Encodes the test case automation state as a single integer: 0 = manual, 1 = manual planned to be automated, 2 = automated. If both automation and isManual/isToBeAutomated are provided, isManual and isToBeAutomated take precedence.

isManualboolean

true if the case is manual, false if it is automated. Combined with isToBeAutomated, replaces the deprecated automation field.

isToBeAutomatedboolean

true if a manual case is planned to be automated, false otherwise. Only meaningful when isManual is true; ignored when isManual is false.

statusinteger
steps_type'classic' | 'gherkin'

Determines the format of the steps field. When "classic", steps use the standard action/expected_result/data format. When "gherkin", steps use the {value: "Given...\nWhen...\nThen..."} format.

attachmentsstring[]

A list of Attachment hashes.

tagsstring[]
paramsobject nullable

Deprecated, use parameters instead.

parametersItems[] nullable— unresolved $ref
custom_fieldCustomField — unresolved $ref

Response

A Test Case.

statusboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.