Skip to main content

jira-ingest

PyPI version Python versions Licence: MIT

Async Jira data pipeline for Data Center and Cloud. Fetches projects, releases, boards, issues, and transitions; writes Parquet, CSV, or JSON Lines to local disk, S3, Azure Blob, or GCS; and optionally loads records into any SQLAlchemy-compatible database.

Features

  • Dual-mode: Jira Data Center (Bearer PAT + optional mTLS) and Jira Cloud (Basic Auth)
  • Async fetching with concurrent project processing, in-memory caching, and exponential-backoff retry
  • Configurable custom fields extraction -- map any customfield_XXXXX to a logical name
  • PII hashing for assignee and author fields
  • Output formats: Parquet (Snappy), CSV, JSON Lines
  • Output destinations: local filesystem, S3, Azure Blob, GCS via fsspec
  • Pluggable database loader: PostgreSQL, Redshift (with S3 COPY fast path), Snowflake, DuckDB, SQLite
  • Click CLI with run and validate commands
  • Pydantic v2 settings and data schemas
  • ruff + mypy strict + pre-commit + GitHub Actions CI

Quick start

pip install pipewell-jira-ingest
cp .env.example .env   # edit with your Jira URL and credentials
jira-ingest validate   # confirm connectivity
jira-ingest run        # fetch everything and write to ./output

For database loading, install the optional extra:

pip install "pipewell-jira-ingest[database]"   # PostgreSQL, SQLite, etc.
pip install "pipewell-jira-ingest[redshift]"   # Redshift with S3 COPY fast path

Documentation

Guide Description
Authentication Jira Cloud vs Data Center, PAT vs Basic Auth, mTLS certificates, scoping by project
Output sinks Local filesystem, S3, Azure Blob, GCS -- URIs, auth options, output layout
Database loading PostgreSQL, Redshift S3 COPY, Snowflake, DuckDB, SQLite; programmatic API
Custom fields Mapping customfield_XXXXX IDs to logical names, finding field IDs

Configuration reference

All settings are read from environment variables (or a .env file) with the prefix JIRA_.

Variable Default Description
JIRA_MODE cloud cloud or dc
JIRA_URL required Jira base URL
JIRA_API_TOKEN required API token (Cloud) or PAT (DC)
JIRA_EMAIL required for Cloud Account email
JIRA_CERT_PEM Base64-encoded PEM for mTLS (DC only)
JIRA_PROJECT_KEYS all projects Comma-separated project keys to scope the run
JIRA_OUTPUT_FORMAT parquet parquet, csv, or jsonl
JIRA_SINK_URI ./output fsspec URI for output destination
JIRA_SINK_OPTIONS {} JSON dict of auth options forwarded to fsspec
JIRA_CUSTOM_FIELDS {} JSON dict mapping logical name to Jira field ID
JIRA_LOG_LEVEL INFO Log verbosity
DATABASE_URL SQLAlchemy URL to load into a database after writing
DATABASE_SCHEMA Target schema (used with DATABASE_URL)
REDSHIFT_IAM_ROLE IAM role ARN for Redshift S3 COPY

CLI

jira-ingest run [OPTIONS]

  --env-file TEXT            Path to .env file  [default: .env]
  --start-date TEXT          Filter issues from date (YYYY-MM-DD)
  --end-date TEXT            Filter issues until date (YYYY-MM-DD)
  --date-suffix TEXT         Output file date suffix  [default: today]
  --database-url TEXT        SQLAlchemy URL to load into a database
  --db-schema TEXT           Target database schema
  --redshift-iam-role TEXT   IAM role ARN for Redshift S3 COPY

jira-ingest validate [OPTIONS]

  --env-file TEXT            Path to .env file  [default: .env]

Output layout

{JIRA_SINK_URI}/
  issues/issues_{date}.parquet
  projects/projects_{date}.parquet
  releases/releases_{date}.parquet
  boards/boards_{date}.parquet
  transitions/transitions_{date}.parquet

Development

pip install -e ".[dev]"
pre-commit install
pytest

Metadata

Release files for pipewell-jira-ingest 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipewell-jira-ingest 1.0.3
File Size Uploaded
pipewell_jira_ingest-1.0.3.tar.gz 45.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipewell-jira-ingest 1.0.3
File Interpreter ABI Platform
pipewell_jira_ingest-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 77.5 kB

Release files / pipewell_jira_ingest-1.0.3.tar.gz

Download URL pipewell_jira_ingest-1.0.3.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c93667a916a5ea1e26b730e25fcdb4aa391d7bfc43970b5d6c2925ab77b27a8
BLAKE2b-256 checksum
How to use checksums
45cc16aa1773b73c1eff6bb62c4c9faef90be34a3320b217c69eb2663ea50f15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / pipewell_jira_ingest-1.0.3-py3-none-any.whl

Download URL pipewell_jira_ingest-1.0.3-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
505335db3b250d2a636f517e401e5fbd27fe34818e3e2f7c579cea84eb8bf793
BLAKE2b-256 checksum
How to use checksums
9bdedff7ace6849998206d2bb4035771a19023559d3207d6fc44d49593340b24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page