Registry /
workflow / apache-airflow-providers-jira
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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 5.920s · 264.6MB
glibcpy 3.10–3.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
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'airflow.contrib'
Importing from deprecated contrib module after Airflow 2.0.
fixUse `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.
fixEnsure `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.
fixVerify 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