When fetching workitems for test cases, some values were missing from the response. This is not the case for all workitems, but out of 33 workitems 16 were missing the workitem values listed below:
"workitem_key": "",
"workitem_status": "",
"workitem_status_category": "",
"workitem_summary": "",
Here is the “POST” request I used:
https://app.testiny.io/api/v1/testcase/find
{
"filter": { "project_id": 1 },
"includeTotalCount": true,
"map": [
{
"entities": ["testcase", "testrun"],
"filter": { "testrun_id": [394, 419] }
},
{
"entities": ["testcase", "workitem"],
"result": "workitem"
}
]
}
Here is an example for one workitem response:
"workitem": {
"id": 82934,
"is_deleted": false,
"created_at": "2024-08-14T14:48:19.380Z",
"created_by": 8299,
"modified_at": "2024-08-14T14:48:19.380Z",
"modified_by": 8299,
"deleted_at": null,
"deleted_by": null,
"project_id": 1,
"integration_id": 2,
"workitem_api_project_id": "12538",
"workitem_api_id": "1000540",
"workitem_api_type_id": "10137",
"workitem_key": "",
"workitem_status": "",
"workitem_status_category": "",
"workitem_summary": "",
"workitem_integration_type": "jira",
"workitem_info": null
},