{"id":24431,"library":"pytest-jira","title":"pytest-jira","description":"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.","status":"active","version":"0.3.24","language":"python","source_language":"en","source_url":"https://github.com/rhevm-qe-automation/pytest_jira","tags":["pytest","jira","plugin","testing","integration"],"install":[{"cmd":"pip install pytest-jira","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required plugin host","package":"pytest","optional":false},{"reason":"JIRA REST API client","package":"jira","optional":false},{"reason":"HTTP library used internally","package":"requests","optional":false}],"imports":[{"note":"pytest plugins are auto-discovered; explicit import not needed and may cause issues","wrong":"import pytest_jira","symbol":"pytest_jira","correct":"pytest_plugins = ['pytest_jira']"}],"quickstart":{"code":"import os\n\n# Configure via environment variables (recommended) or pytest.ini\nos.environ['JIRA_URL'] = 'https://your-jira-instance.atlassian.net'\nos.environ['JIRA_USER'] = 'your-email@example.com'\nos.environ['JIRA_PASSWORD'] = os.environ.get('JIRA_PASSWORD', '')\n\n# Or use token authentication:\n# os.environ['JIRA_TOKEN'] = 'your-api-token'\n\n# Mark test with JIRA issue key\nimport pytest\n\n@pytest.mark.jira('PROJECT-123')\ndef test_example():\n    assert 1 + 1 == 2","lang":"python","description":"Basic usage: set environment variables and use @pytest.mark.jira marker."},"warnings":[{"fix":"Remove any explicit import of pytest_jira. The plugin is activated by installing the package.","message":"Plugin auto-registers; do not import pytest_jira directly in test files. Instead, use the marker @pytest.mark.jira('KEY') after installing the package.","severity":"gotcha","affected_versions":">=0.3.0"},{"fix":"Run tests with 'pytest' not 'py.test'.","message":"Using 'py.test' command is deprecated; use 'pytest' instead.","severity":"deprecated","affected_versions":">=0.3.20"},{"fix":"Set JIRA_TOKEN environment variable instead of JIRA_USER/JIRA_PASSWORD if using token auth.","message":"From version 0.3.19, token authentication via JIRA_TOKEN environment variable is supported. In previous versions only basic auth (username/password) was available.","severity":"breaking","affected_versions":"<0.3.19"},{"fix":"Upgrade to >=0.3.23 to avoid JSON parsing errors during connectivity check.","message":"Connectivity check may fail with invalid JSON if JIRA response is not expected format; fixed in 0.3.23.","severity":"gotcha","affected_versions":"<0.3.23"}],"env_vars":null,"search_vec":"'0.3.24':27 '3.9':30 'allow':11 'case':14 'communiti':34 'contribut':35 'current':25 'integr':8,40 'irregular':32 'issu':17,23 'jira':3,7,16,37 'link':12 'maintain':31 'marker':10 'plugin':5,38 'pytest':2,4,36 'pytest-jira':1 'python':29 'requir':28 'result':20 'status':24 'test':13,19,39 'updat':18 'use':9 'verifi':22 'version':26","created_at":"2026-05-01T08:13:02.470988+00:00","updated_at":"2026-05-01T08:13:02.470988+00:00","problems":{"verify_error":"no import statement found"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.3.24","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/rhevm-qe-automation/pytest_jira","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytest-jira/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","crm-productivity"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-06","install_tag":null}}