Details
Description
Description:
When we use GraphQL API to get the Dataset, the following error is shown :
String cannot represent value: new ObjectId(\"691ae5225df491b43244a061\")
The TestIssueID returns an incorrect value, while testExecIssueId does not return anything.
Pre-conditions:
Having the Dataset on for the given Test, where a Test Execution is added to the Test.
How to reproduce
- Run the following GraphQL query:
{ getTestExecutions(jql: "key = JN2-124", limit: 10) { results { issueId tests(limit: 10) { total start limit results { issueId testType { name } dataset { id testIssueId testExecIssueId testPlanIssueId callTestIssueId parameters { name type projectListId combinations listValues } rows { order Values } } } } } }}
Expected result:
Dataset ID should return the ID of the Dataset and testIssueID should show the valid Test issue ID.
Version:
- Xray Cloud 6.12.0