Integrate pytest with Jira and Xray¶
For new projects, start with the uv guide; the pip/venv guide remains supported.
Begin with the Jira/Xray prerequisites: your server, configured Generic Test fields, an existing Test Execution, and existing credentials. Install the plugin, plan independent cases offline, then explicitly create/reuse Tests and import results. Debugging and audit recipes follow the core integration workflow.
- 1. Create a project
- 2. Run two input cases
- 3. Preview the Jira/Xray import
- 4. Authenticate and publish to Jira/Xray
- 5. Audit independent cases locally
- 6. Choose audit report contents
- 7. Diagnose a failing case
- 8. Preserve mapping and recovery evidence
Preview commands do not contact Jira. CI executes these commands against an installed package with blocked transport or a loopback synthetic server; live imports require your authorized Jira/Xray environment. Generic is the required Test type. Live import behavior on Xray 8.5.3-j10 remains unverified; native iteration rows and datasets are not implemented.