Link stories, test cases/scenarios in bulk with test run

API URL : http://localhost:8080/rest/qmetry/latest/testrun/:{{trun_Id}}/link

Method : PUT

Request Header 

  • Content-Type : application/json

Request Body

{
    "issueIds": [
        
        {{tscenario_Id}},
        {{tcase_Id1}},
        {{tcase_Id2}}
    ]
}

Response: Success Status: 200 ok

{
    "success": true,
    "result": [
        {
            "issueId": 10205,
            "issueKey": "IC-22",
            "id": 1587,
            "seqNo": 3,
            "issueDetails": "Test case summary 4",
            "executedBy": "mohit.bajaj",
            "issueType": "Test Case"
        }
    ]
}