Hi Team,
For my CI/CD automation, I need to create new test execution for each environment at runtime based on the environments available(online). Using GraphQL api command , I am trying to createTestexecution ->
https://us.xray.cloud.getxray.app/doc/graphql/createtestexecution.doc.html
Query
mutation{ createTestExecution(testIssueIds:["11704"] jira:{fields:{summary:"Test Execution for KERNELPROT",project:{key:"KERNELPROT"}}}){testExecution {issueId jira(fields: ["key"])}warnings createdTestEnvironments}}
But facing errors ->
{
"errors": [
{
"message": "Error creating Test Execution: tests, in field 'tests', with the following ids not found: 11704!",
"locations": [
{
"line": 1,
"column": 11
}
],
"path": [
"createTestExecution"
]
}
],
"data": {
"createTestExecution": null
}
}
--------------------------
Here : testIssueIds refer to Story id or Test plan id ?
Thanks,
Shriya