Hello,
Hope you are doing well!.
Issue:
I'm trying to get all the test execution statuses associated with the test execution. A few statuses of a few tests are always returned as `PASSED` when the actual test statuses in the test execution of these tests are `TO DO`, `EXECUTING` and `ABORTED`
Note: Statuses are correctly returned in the test execution response, if the test execution statues are `PASSED` , `FAILED` and `N/A`
Example:
API: https://xray.cloud.getxray.app/api/v1/graphql and https://xray.cloud.getxray.app/api/v2/graphql
Query
{
getTestExecutions(jql: "key=TK-XXXX", limit: 50) {
total
start
limit
results {
issueId
jira(fields: ["key"])
projectId
tests(limit: 50) {
total
start
limit
results {
issueId
jira(fields: ["key"])
projectId
testType {
name
kind
id
}
status{
name
description
}
}
}
}
}
}
Could you please help me understand what is it so ? Or am I doing something wrong?
Your response and help would be highly appreciated!
Thanks,
Zaid