TestCase

Create multiple new 'TestCase' entities

Creates multiple new 'TestCase' entities. Returns a list of new ids only.

post/testcase/bulk

Request

Request body

idinteger

The unique entity id - must be a positive integer

titlestring

A descriptive title for this entity or mapping (1 to 500 characters)

sort_indexnumber

An integer sort index for natural ordering of this entity or mapping value - value must be in range (-999999999999999,999999999999999)

is_deletedboolean

If the entity has been soft-deleted this value is true

created_atstring date-time

The creation time for this entity or mapping value

created_bynumber

The creator user id of this entity or mapping value - or zero if created by the system

modified_atstring date-time

The last modification time for this entity or mapping value

modified_bynumber

The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system

deleted_atstring date-time

The soft-deletion time for this entity or mapping value

deleted_bynumber

The id of the user who deleted this entity or mapping value - or zero if deleted by the system

_etagstring required

A tag for detecting conflicting modifications - current value (may be empty) must be passed along in an update (or update must be forced)

project_idinteger

The project id this entity or mapping belongs to

owner_user_idinteger

The global user id of the test case owner

$owner_namestring

The resolved display name of the owner user - read only

typestring

Reserved for future use

templatestring

The template type used for the test case: STEPS, TEXT or BDD

precondition_textstring

A description of the precondition required for the test case (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

content_textstring

The test case content - used with template STEPS (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

steps_textstring

The test case content - used with template TEXT (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

expected_result_textstring

The test case expected result - used with template TEXT (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

bdd_scenarios_textstring

The gherkin scenarios used with template BDD (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

prioritynumber

The test case priority (This is a builtin-custom field)

statusstring

The test case status (This is a builtin-custom field)

testcase_typestring

The test case type (This is a builtin-custom field)

automationstring

The test case automation status (This is a builtin-custom field)

estimatenumber

A test case time estimate (This is a builtin-custom field)

Example request

[
  {
    "title": "A Descriptive Title",
    "created_at": "1970-01-01T00:00:00.000Z",
    "modified_at": "1970-01-01T00:00:00.000Z",
    "deleted_at": "1970-01-01T00:00:00.000Z",
    "priority": 1,
    "estimate": 100
  }
]

Response

Returns an array of TestCase.

idinteger

The unique entity id - must be a positive integer

titlestring

A descriptive title for this entity or mapping (1 to 500 characters)

sort_indexnumber

An integer sort index for natural ordering of this entity or mapping value - value must be in range (-999999999999999,999999999999999)

is_deletedboolean

If the entity has been soft-deleted this value is true

created_atstring date-time

The creation time for this entity or mapping value

created_bynumber

The creator user id of this entity or mapping value - or zero if created by the system

modified_atstring date-time

The last modification time for this entity or mapping value

modified_bynumber

The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system

deleted_atstring date-time

The soft-deletion time for this entity or mapping value

deleted_bynumber

The id of the user who deleted this entity or mapping value - or zero if deleted by the system

_etagstring required

A tag for detecting conflicting modifications - current value (may be empty) must be passed along in an update (or update must be forced)

project_idinteger

The project id this entity or mapping belongs to

owner_user_idinteger

The global user id of the test case owner

$owner_namestring

The resolved display name of the owner user - read only

typestring

Reserved for future use

templatestring

The template type used for the test case: STEPS, TEXT or BDD

precondition_textstring

A description of the precondition required for the test case (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

content_textstring

The test case content - used with template STEPS (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

steps_textstring

The test case content - used with template TEXT (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

expected_result_textstring

The test case expected result - used with template TEXT (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

bdd_scenarios_textstring

The gherkin scenarios used with template BDD (can be a rich text document, i.e. markdown with header line <!--markdown--> or Testiny JSON format)

prioritynumber

The test case priority (This is a builtin-custom field)

statusstring

The test case status (This is a builtin-custom field)

testcase_typestring

The test case type (This is a builtin-custom field)

automationstring

The test case automation status (This is a builtin-custom field)

estimatenumber

A test case time estimate (This is a builtin-custom field)

Example response

[
  {
    "title": "A Descriptive Title",
    "created_at": "1970-01-01T00:00:00.000Z",
    "modified_at": "1970-01-01T00:00:00.000Z",
    "deleted_at": "1970-01-01T00:00:00.000Z",
    "priority": 1,
    "estimate": 100
  }
]

Changes

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