$npx skillfedfor your agent

pytest-jira-xray

pytest plugin to integrate tests with JIRA XRAY

With conditionsPyPI TestingReleased Apr 2026164.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_jira_xray-0.9.4-py3-none-any.whl
v0.9.4 · released 2026-04-24 · Python >=3.9 · 2 runtime deps: pytest, requests

Yes, if you use JIRA XRAY and pytest. The plugin is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real integration gap. The permissive license and broad Python version support make it safe for most teams. Install it when you need automated test result reporting to JIRA; skip it if you don't use XRAY or manage test status through other means.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires JIRA XRAY instance with valid credentials and network access; XRAY_API_BASE_URL and authentication environment variables must be set before running pytest.
  • Low friction: pure Python wheel with only pytest and requests as runtime dependencies.
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most organizational contexts.

last release 2026-04-24 (112 days) · last repo commit 2026-04-24 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 164,470 downloads/mo, #10,547 on PyPI

Verify before relying

# Install
pip install pytest-jira-xray

# Mark tests in test_example.py
import pytest

@pytest.mark.xray('JIRA-1')
def test_example():
    assert True

# Set environment variables
export XRAY_API_BASE_URL=https://jira.example.com
export XRAY_API_USER=username
export XRAY_API_PASSWORD=password

# Run pytest with plugin
pytest --jira-xray
  • Whether the plugin handles partial test failures gracefully when JIRA connectivity is lost mid-execution
  • Performance impact when uploading results for large test suites
  • Compatibility with pytest plugins that also modify test reporting or result collection
Same gist for agents: .md · .json

What it is and what it does

pytest-jira-xray is a pytest plugin that bridges automated test execution with JIRA's XRAY test management system. You mark individual pytest tests with JIRA XRAY test IDs using a decorator, run pytest with the --jira-xray flag, and the plugin automatically uploads pass/fail results, comments, and optional evidence back to JIRA. It supports multiple JIRA authentication schemes (basic auth, personal access tokens, client credentials), handles both JIRA Server/DC and Cloud endpoints, and allows grouping multiple test IDs under a single pytest test or linking multiple pytest tests to the same JIRA ID.

The plugin depends only on pytest and requests, making it lightweight to install. Configuration is entirely environment-variable-driven, so it integrates cleanly into CI/CD pipelines without code changes. You can upload to a new test execution, append to an existing one, or create a new execution under a test plan. It also supports defect linking, duplicate test ID handling, and custom result modification via pytest hooks.

Use it for

  • Automatically report pytest test results to JIRA XRAY after each CI/CD run, eliminating manual test status updates.
  • Link automated regression tests to JIRA test cases and track execution history across builds and environments.
  • Attach test evidence (screenshots, logs) to JIRA test results when tests fail, captured via pytest hooks.
  • Manage test execution metadata (environment, version, revision) from environment variables in CI pipelines.
  • Support multiple JIRA authentication methods (basic, PAT, client credentials) for different organizational security policies.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use JIRA XRAY and pytest.

The plugin is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real integration gap. The permissive license and broad Python version support make it safe for most teams. Install it when you need automated test result reporting to JIRA; skip it if you don't use XRAY or manage test status through other means.

Install

pytest-jira-xray on PyPI

Before you install

Low friction: pure Python wheel with only pytest and requests as runtime dependencies. Actively maintained with a recent release and no known vulnerabilities.

Requires JIRA XRAY instance with valid credentials and network access; XRAY_API_BASE_URL and authentication environment variables must be set before running pytest.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most organizational contexts.

Quickstart

# Install
pip install pytest-jira-xray

# Mark tests in test_example.py
import pytest

@pytest.mark.xray('JIRA-1')
def test_example():
    assert True

# Set environment variables
export XRAY_API_BASE_URL=https://jira.example.com
export XRAY_API_USER=username
export XRAY_API_PASSWORD=password

# Run pytest with plugin
pytest --jira-xray

Verify before relying

  • Whether the plugin handles partial test failures gracefully when JIRA connectivity is lost mid-execution
  • Performance impact when uploading results for large test suites
  • Compatibility with pytest plugins that also modify test reporting or result collection

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytestrequests
MaintenanceActively maintained 112 days since the last release
Last repo commit
First released
Downloads164,470 / month, #10,547 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: PytestOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Evidence: pytest_jira_xray-0.9.4-py3-none-any.whl

Tags

Capabilities
pytest jira integrationupload test results to jiraxray test reportingjira test automation pluginpytest jira xraytest execution tracking jiraautomated test reporting
Topics
jira-integrationtest-reportingci-cd
PyPI keywords
pytestJIRAXRAY

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest jira integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-jira · pytest-runtime-xfail · pytest-check · pytest-json · cosmic-ray · pytest-ordering · pytest-azurepipelines · pytest-only · pytest-reportportal · mypy-boto3-xray