Hi
I am trying to build an automation rule that does the following:
I am using sub-tasks on User stories as acceptance criteria. Each sub-task has a number of tests (Xray).
When all tests have passed, the sub-task should be set to done, meaning the acceptance criteria has been tested and approved.
How do i set this automation rule.
bonus info: i am using Jira and Xray Cloud
Welcome to the community.
I suspect you mean test executions are done based on the test related to the sub-task.
You will have to use Xray's GraphQL endpoint to get the Test Runs from this Test Execution: GraphQL API - Xray Cloud Documentation - Xray
Then based on if the result is that all are done, then you could transition the Jira issue.
This is all in theory as I don't have Xray.
You could also reach out to Xray support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.