bulk_set_test_case_custom_fields
Set custom field values on multiple test cases in one call, using replace mode to clear existing values first or add mode to append without removal.
Instructions
Set custom field values on multiple test cases at once. When mode is "replace" (default), existing values for the specified fields are removed before adding new ones, preventing unintended data accumulation. When mode is "add", values are added without removing existing ones. Payload format: [{ customField: { id }, values: [{ id|name }] }] or [{ id|name, customField: { id } }].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payload": "<payload>"
},
"name": "bulk_set_test_case_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "replace" (default): removes existing values for the specified fields before adding. "add": appends without removing. | |
| payload | Yes | ||
| projectId | No | ||
| testCaseId | No | Single test case ID. | |
| projectName | No | Project name (alternative to projectId). | |
| testCaseIds | No | Multiple test case IDs. |