Skip to content

Jira/Xray prerequisites

  • Python 3.12+ and pytest 9.1.1–9.x. Use a clean environment; upstream pytest-jira-xray installs the same pytest_xray module and plugin entry point.
  • Jira Server/DC with Xray. Target: Generic Tests on Xray 8.5.3-j10. This exact installed version has not been tested against a live server. Cloud creation, custom Automatic type mapping, native iterations and datasets are unsupported.
  • An authorized project and existing Test Execution. An administrator supplies the Test and Test Execution issue type IDs, Xray Test Type custom field ID, Generic Test Definition field ID, and required creation fields. IDs vary per site.
  • Existing credentials with Browse Projects, Create Issues (only for creation), Edit Issues and Xray import permissions. Project permission checks cannot prove all Xray-specific authorization; an import failure remains a failure.
  • One authoritative durable case map, shared by every creator of this suite. Serialize creators across machines. A local exclusive lock cannot enforce uniqueness across independent map copies or server nodes. Never run independent writers under the same identity namespace.

The offline plan needs no credentials or server and validates no server settings. Only explicit --xray-create-tests permits creating Tests. --jira-xray requests upload; selecting --xray-case-config alone does not grant creation permission. Existing Jira Test specifications are never edited or deleted by this workflow.