cases

Create a new test case

This method allows to create a new test case in selected project.

post/case/{code}

Path parameters

codestring required

Code of project, where to search entities.

Request body

descriptionstring
preconditionsstring
postconditionsstring
titlestring required
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.

custom_fieldCustomField — unresolved $ref
created_atstring
updated_atstring

Response

A result.

statusboolean

Changes

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