What problem does it solve? Managing Xray Cloud test artifacts through the UI or raw GraphQL is slow and error-prone. This Skill wraps the entire Xray Cloud API in a single bun xray CLI so agents and testers can create tests, run executions, import results, and migrate projects between Jira sites without hand-writing GraphQL mutations. ## Core Features & Use Cases - Full test lifecycle management: Create Manual, Cucumber, and Generic tests, add steps one call at a time, manage preconditions, test sets, plans, and executions with mandatory environment pinning. - Results import and run control: Import JUnit, Cucumber, or Xray JSON results, update run and step statuses, attach evidence files, and link defects to runs. - Backup, restore, and cross-site migration: Export a project's full Xray footprint (schema v2.0), preflight destination config gaps, and restore with idempotent --sync key matching for site-to-site migrations. - Use Case: After a Jira Cloud site migration leaves tests with empty Gherkin and flattened types, run backup export --all --include-runs on the source, then backup restore --sync on the destination to re-push the entire Xray payload with zero duplicates. ## Quick Start Ask the agent to log in to Xray and list the tests in your project, for example: "Log in to Xray with my .env credentials and list all tests in project DEMO."