API Endpoint
{{apiUrl}}/api/v2/run
View or Run in Postman
Example Request
This API endpoint allows you to initiate a Test Run within Advanced Test Plans
Headers
Authorization
Authorization | {{vansahConnectToken}}
|
Body raw (json)
{
"asset": {
"type": "plannedRun", // Defines a planned test run
"key": "PVT-P13", // Test plan Key
"iteration": 1 // Iteration number
},
"testPlanAsset": {
"type": "folder", // Can be "folder" or "issue"
"folderPath": "checkautofolder/" // Folder path if type is "folder"
// "key": "PVT-1" // Issue key if type is "issue"
},
"case": {
"key": "PVT-C46" // Linked test case identifier
},
"properties": { // Optional test run details
"environment": { "name": "SYS" }, // Test environment
"release": { "name": "SYS" }, // Release version
"sprint": { "name": "PVT Sprint 1" } // Sprint name
},
"project": {
"key": "PVT" // Jira project key
}
}
