pytest plugin for JIRA integration using markers. Allows linking test cases to JIRA issues, updating test results, and verifying issue status. Current version 0.3.24, requires Python >=3.9. Maintained irregularly with community contributions.
pip install pytest-jiraVerified import paths — ran on the pinned version, not inferred.
Basic usage: set environment variables and use @pytest.mark.jira marker.
Remove any explicit import of pytest_jira. The plugin is activated by installing the package.
Run tests with 'pytest' not 'py.test'.
Set JIRA_TOKEN environment variable instead of JIRA_USER/JIRA_PASSWORD if using token auth.
Upgrade to >=0.3.23 to avoid JSON parsing errors during connectivity check.