If your team uses the Xray Sync integration, you can now configure your plans to automatically sync results to your Xray project!
Previously, publishing a mabl plan's results to Xray required a manual step: after a run finished, someone had to open the plan run output page and click sync. Now that step can happen on its own. Set a default for automatic or manual result syncing on your Xray integration, or override it for any individual plan. Once a plan is set to auto sync, its results publish to Xray the moment the run completes, whether the run was triggered manually, on a schedule, by a timer, or by a CI/CD deployment.
How it works
Automatic sync lives in two places:
- Xray integration settings: set whether new plans default to auto sync or manual sync in the Plan sync default section.
- Plan settings: in the plan creation and edit forms, you can toggle the Auto sync toggle next to the Xray Test Plan selection to set sync behavior for that plan specifically. A plan's own setting always takes precedence over the integration default.
Automatic sync is available for plans only; individual tests still require a manual sync. Manual sync also remains available at both the test and plan level even after you turn on auto sync.
If a plan has no explicit setting of its own, the toggle starts at whatever the integration default is. Turn it on or off yourself, and that becomes the plan's own setting from then on: it stays in place even if you later change which Xray Test Plan the plan is bound to.
When a plan is set to auto sync, mabl creates the same Xray Test Execution record a manual sync produces today, respecting your existing associations between mabl plans and Xray Test Plans, and between mabl tests and Xray Test Cases. Only tests linked to an Xray Test Case are included.
If you use the Slack or MS Teams integrations, you can set up notifications whenever plan results fail to sync. The notification includes the exact error from Xray and a button to retry the sync.
Learn more
For more on setting up the Xray sync integration and associating plans and tests with Xray entities, check out the documentation.