Skip to content
developers
Open TestCollab

Create a new linked project

POST/linkedtestcases

Linked test case to add

Use resource IDs from your own project. Keep the API token in your server or CI environment.

example.ts
import { createConfiguration, LinkedtestcasesApi } from '@testcollab/sdk';
const config = createConfiguration(process.env.TESTCOLLAB_TOKEN!);
const api = new LinkedtestcasesApi(config);
const result = await api.createLinkedTestcase({
"linkedtestcasePayload": {
"project": 123,
"testcase": 123
}
});
console.log(result);
Field Type Required Description
issue_key string No —
issue_id number No —
im string No Issue Manager string
project number Yes project ID
testcase number Yes Test case ID
im_project_id string No —
im_instance_id string No —

200 — Created Linked test case

Field Type Required Description
issue_key string No —
issue_id number No —
im string No Issue Manager string
project number Yes project ID
testcase number Yes Test case ID
im_project_id string No —
im_instance_id string No —
Illustrative response
{
"issue_key": "example",
"issue_id": 123,
"im": "example",
"project": 123,
"testcase": 123,
"im_project_id": "example",
"im_instance_id": "example"
}
Status Meaning
403 Forbidden