Add/remove/update mappings between 'TestCase' entities and other entities
POST/testcase/mapping/bulk/:otherEntities
Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. 'testcase_id', 'testrun_id' (see request schema)
Request
Path Parameters
The name(s) of the other entities to map to, separated by colon ':'
Query Parameters
Possible values: [add
, update
, add_or_update
, delete
]
- application/json
Body
required
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
ids object
An object of entity id keys for the member entities
mapped object
The testplan_id property
The testcase_id property
The id of the testcase source query if created from a test plan query
The id of the folder if created in a test plan from a folder
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The associated test run id
The associated test case id
The id of the testcase source query if created from a test plan query
The id of the folder if created in a test plan from a folder
The global user id of the user assigned to the associated test case in the associated test run if 'assigned_to' is 'USER'
The assignee of the associated test case in the associated test run - Can be USER,OWNER,ANY
The resolved display name of the test case assignee - readonly
The result status of the associated test case in the associated test run - allowed values are: NOTRUN,PASSED,FAILED,BLOCKED,SKIPPED
Result per step as json
The last modification time for the result status
The id of the user who last changed the result status - or zero if modified by the system
The number of comments associated with this testcase/testrun - readonly
The number of work items associated with this testcase/testrun - readonly
ids object
An object of entity id keys for the member entities
mapped object
The testcase_folder_id property
The testcase_id property
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The comment_id property
The testcase_id property
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The blob_id property
The testcase_id property
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The comment_id property
The testrun_id property
The testcase_id property
Reference to location in test case the comment is applied to
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The blob_id property
The testrun_id property
The testcase_id property
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The agentsession_id property
The testrun_id property
The testcase_id property
Session data
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The workitem_id property
The testcase_id property
The testrun_id property
The workitem_type property
ids object
An object of entity id keys for the member entities
mapped object
The creation time for this entity or mapping value
The creator user id of this entity or mapping value - or zero if created by the system
The last modification time for this entity or mapping value
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
The soft-deletion time for this entity or mapping value
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
The workitem_id property
The testcase_id property
The workitem_type property
Responses
- 4XX
- 5XX
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}