Hi,
Jira automation question.
I'm using https://xray.cloud.getxray.app/api/v2/graphql to get the related tests of a test execution. This works fine and I get the correct result.
{data={getTestExecutions={results=[{issueId=188800, jira={key=TEST-13621}, tests={results=[{issueId=180163, jira={key=TEST-11939, summary=Add sales order, assignee=null}}, {issueId=180164, jira={key=TEST-11940, summary=Mandatory field validation, assignee=null}}]}}]}}}
But now I want to iterate through the results/related tests.
I'm using advanced branching
and {{xrayTests.body.asJSON.data.getTestExecutions.results.first.tests.results}} as smart value.
xrayTests is a variable of {{webResponse.body}}.
But, this is not working, I get error
The provided smart value couldn't be resolved to an object
So, how can I select the results from the webresponse?
Dieter