I’m having an issue with fetching test cases along with the workitems (jira tickets) connected to the testcase.
I’m using POST “testcase/find” and some of the cases are returned multiple times and I can’t figure out why it’s happening or how to change the payload to only get one item.
Currently what I send to the endpoin:
{
"pagination": {
"offset": offset,
"limit": limit,
},
"map": [
{
"entities": ["testcase", "workitem"],
"result": "workitem",
"optional": True,
}
],
"includeTotalCount": True,
"filter": {"id": test_case_ids},
}
In this case the case does NOT have multiple workitems.
– Asgeir_AtlasonHmm, could you send a example json responses to [email protected] (or post them sanitized here?) Do you get duplicate test cases within one response, or over multiple responses?
– mgiI've sent an email with an example response. The payload/filtering is slightly diffrent but the result contains the same error.
– Asgeir_Atlason