Registry / workflow / apache-airflow-providers-jira

apache-airflow-providers-jira

JSON →
library3.1.0pypypi✓ verified 84d ago

Provider package for Apache Airflow that integrates with Jira. It provides hooks, operators, and sensors to interact with Jira issues, projects, and workflows. Current version: 3.1.0. Release cadence: follows Airflow provider releases.

pip install apache-airflow-providers-jira
INSTALL
IMPORT
SIG · APACHE-AIRFLOW-PRO
A
apache-airflow-providers-jira
workflowpythonv3.1.0
Install
25.8s avg
Import
5702ms
Disk
264MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 5.920s · 264.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 25.8s · import 5.484s · 264MB
264MB installed
● package 264MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JiraHook
from airflow.providers.jira.hooks.jira import JiraHook
from airflow.contrib.hooks.jira_hook import JiraHook
The contrib module was deprecated and moved to providers in Airflow 2.0.
JiraOperator
from airflow.providers.jira.operators.jira import JiraOperator
from airflow.operators.jira_operator import JiraOperator
Operator moved to providers package. Old path no longer exists.

Minimal DAG that creates a Jira issue using the JiraOperator.

from datetime import datetime from airflow import DAG from airflow.providers.jira.operators.jira import JiraOperator from airflow.providers.jira.hooks.jira import JiraHook default_args = { 'owner': 'airflow', 'start_date': datetime(2023, 1, 1), } with DAG(dag_id='jira_test', default_args=default_args, schedule_interval=None, catchup=False) as dag: create_issue = JiraOperator( task_id='create_issue', jira_conn_id='jira_default', operation='create_issue', project='TEST', summary='Test issue from Airflow', issuetype='Task', description='Created via Airflow JiraOperator', ) create_issue
airflow --version
Debug
Known issues
breakingStarting with Airflow 2.0, all Jira hooks and operators must be imported from `airflow.providers.jira` instead of `airflow.contrib`.
fix
Update imports: `from airflow.providers.jira.hooks.jira import JiraHook` and `from airflow.providers.jira.operators.jira import JiraOperator`.
affects: >=2.0
gotchaThe `JiraOperator` uses the `operation` parameter to specify the Jira API method. Not all methods are available; check the operator source code for a list.
fix
Refer to the operator source or docs for valid operations like 'create_issue', 'search_issues', 'transition_issue'.
affects: all
deprecatedThe `jira_conn_id` must point to a connection with host, login, password or token. The provider uses the JIRA Python library which expects a token or basic auth.
fix
Configure Airflow connection with 'jira' type, set host (e.g., https://your-domain.atlassian.net), login (email), and password (API token for cloud).
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'airflow.contrib'
Importing from deprecated contrib module after Airflow 2.0.
fix
Use `from airflow.providers.jira.hooks.jira import JiraHook` instead.
airflow.exceptions.AirflowException: 'JiraOperator' object has no attribute 'execute'
Misconfiguration or outdated version of provider not compatible with Airflow version.
fix
Ensure `apache-airflow-providers-jira` version matches your Airflow version. Upgrade both to latest compatible versions.
jira.exceptions.JIRAError: JiraError HTTP 400 Bad Request
Invalid project key or issue type in `JiraOperator` parameters.
fix
Verify that the project and issuetype exist in your Jira instance. For cloud, use project key (e.g., 'TEST') not name.
Upgrade
Version history
3.1.0latest on PyPI · released Oct 1, 2022
Audit
Dependencies
apache-airflowrequiredRequired runtime dependency for all Airflow providers
JIRArequiredPython JIRA library for REST API client
Agent activity
64 hits · last 30 days
node
54
OpenAI (training)
2
Resources
apache-airflow-providers-jira — pip install apache-airflow-providers-jira · libregistry