We are using Jira Cloud plus Xray Cloud. We use a test plan for each sprint so currently we need to:
Create a test plan for a sprint
Create new tests from a Jira story/bug (test is linked to the Jira ticket)
Go back to the test plan and manually link the tests
Create a test execution for the test
Manually link the test execution to the test plan (unless we create the test execution from the test plan directly)
Ideally if it's possible to reduce the amount of manual linking that would be great!
Create a test plan for a sprint
Any new tests and test executions created for the items on that sprint are linked to the test plan as they get created
Hi Rachel,
The Test cases in a dynamic Test Plan will be provided by a saved filter of:
In the case of covered issues, Xray will automatically add all Test cases associated with the covered issues.
Dynamic Test Plans will be updated automatically by the tool. Xray will process dynamic test plans in a specified interval. Project admins are able to configure in which workflow statuses a Test Plan must be automatically updated. For example, if a Test Plan is closed, it might not be necessary to refresh the tests in the test plan.
Best Regards,
Team Xray
I'm trying to do the same thing that's being asked about here. Specifically, I want to automatically create a Test Case when a Story or Defect is moved to particular state, and add then add the Test Case to the Test Plan associated with the Epic.
This answer says that Dynamic Test Plans will accomplish this, but I see that Dynamic Test Plans is a feature that's still in development.
Is there a way, with Jira or Xray automation, to add a Test to a Test Plan?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ron Feldman
Since Jira Automation can execute Web Requests, please try the idea of using Xray GraphQL to add a Test to a Test Plan.
Here are the documentation links: https://docs.getxray.app/display/XRAYCLOUD/GraphQL+API
And the GraphQL mutation to add Tests to Test Plans: https://xray.cloud.getxray.app/doc/graphql/addteststotestplan.doc.html
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.