Skip to main content

codapact-jira

CI PyPI Python License Jira Cloud Generated by Codapact

Typed Python client and codapact-jira command-line tool for Jira Cloud, generated by Codapact.

API source

Generated from this exact contract; regenerating it with the same Codapact version reproduces the code byte for byte.

API Jira Cloud
Contract OpenAPI openapi.json, pinned copy of https://dac-static.atlassian.com/cloud/jira/platform/swagger-v3.v3.json
Version 1001.0.0-SNAPSHOT-eac1257d8e1582ed7dd2a97a93dbea3c277d24be
SHA-256 36a08f68d55c32f4e8dc257c1ca26f693d09e066a041dbf041ccb804dc52b971
Generator Codapact 0.19.0

Run

With uv; uvx installs the package and its runtime on first use:

uvx codapact-jira --help
uvx --refresh-package codapact-jira codapact-jira --version   # update to the latest

Requires Python 3.13 or newer.

Credentials

Save once in the OS keyring with uvx codapact-jira auth login, or set per shell:

  • basic: JIRA_BASIC_USERNAME, JIRA_BASIC_PASSWORD. Use your Atlassian account email as the username and an API token as the password (create one at https://id.atlassian.com/manage-profile/security/api-tokens).
  • session: JIRA_SESSION. For sites where API tokens are disabled: signs in through a browser window and sends the session cookies.

<VAR>_COMMAND runs a command that prints the secret (e.g. a password manager). uvx codapact-jira doctor checks settings, credentials, connectivity, and the login.

Use

uvx codapact-jira issues get --issue-id-or-key PROJ-1 --query fields.description
uvx codapact-jira issue-search search-issues --jql 'project = PROJ ORDER BY created DESC' --fields summary,status
uvx codapact-jira issues create --fields '{"project":{"key":"PROJ"},"issuetype":{"name":"Task"},"summary":"Fix login"}' --markdown @description.md
uvx codapact-jira issue-comments add-comment --issue-id-or-key PROJ-1 --markdown 'Deployed :white_check_mark:'
uvx codapact-jira describe --brief   # every command, for scripts and agents

As a library:

from codapact_jira import Client

client = Client()

Agent skill

The package ships an agent skill that points agents at the CLI. Install it into a skills folder:

uvx codapact-jira skill install --dir ~/.agents/skills   # or any skills folder
uvx codapact-jira skill show                             # print it

Rerun after an update to refresh it; a copy with local edits needs --force.

Markdown

Rich text is Markdown both ways. --markdown TEXT|@file|@- sets an issue description, a comment or a worklog comment; a Markdown string for description, environment, a comment body or a worklog comment inside JSON arguments is converted too, and every ADF document in a response comes back as Markdown. --doc-format adf (or JIRA_DOC_FORMAT=adf) keeps raw ADF. The dialect (panels as > [!NOTE], :status[DONE]{color=green}, mentions, Jira emoji such as :tick:) is documented by uvx adflux syntax.

Sign-in

Set --base-url (or JIRA_BASE_URL) to your site, for example https://your-site.atlassian.net. Two ways to sign in:

  • API token (preferred): codapact-jira auth login --scheme basic with your Atlassian email and a token from https://id.atlassian.com/manage-profile/security/api-tokens.
  • Browser sign-in, where API tokens are disabled: codapact-jira auth login --scheme session opens a window. The CLI fills in your email; you type your password and any second factor yourself. The session cookies go to your keyring and are renewed without a window until your identity provider asks for you again. Browser sign-in needs Chrome, Edge or playwright install chromium.

Known limitation: the CLI never types your Atlassian password. Atlassian's sign-in edge rejects a password typed by browser automation as a bot, even with the right password, so a saved password cannot renew a session. When the session ends, run auth login --scheme session again, or use an API token.

Development

The code in gen/python/ is generated by Codapact. Do not edit it; regenerate instead:

uvx codapact==0.19.0 sync --check                              # has the provider published a new contract?
uvx codapact==0.19.0 sync                                      # pull it into the pinned copy
uvx codapact==0.19.0 generate                                  # run where codapact.yaml is
uv run --directory gen/python pytest                           # offline: help, dry runs, scenarios
JIRA_E2E_LIVE=1 uv run --directory gen/python pytest -k live   # read-only calls to the real API

Metadata

Release files for codapact-jira 0.1.0

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

Source distribution (sdist)

Source distribution for codapact-jira 0.1.0
File Size Uploaded Provenance Actions
codapact_jira-0.1.0.tar.gz 984.6 kB With provenance Details for codapact_jira-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codapact-jira 0.1.0
File Interpreter ABI Platform Actions
codapact_jira-0.1.0-py3-none-any.whl Python 3 none any Details for codapact_jira-0.1.0-py3-none-any.whl

Total release size: 1.6 MB

Release files / codapact_jira-0.1.0.tar.gz

Download URL codapact_jira-0.1.0.tar.gz
Size 984.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06970b83a7c14b1a53b6cf5082a4f5400b072afbd7262fc643c766ea974a4ad0
BLAKE2b-256 checksum
How to use checksums
5402edfed4d09686cbd292647c315dd8144e7ad9b76d3c22887101924fbd74e2
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 Nov 29, 2026.

Transparency log

Release files / codapact_jira-0.1.0-py3-none-any.whl

Download URL codapact_jira-0.1.0-py3-none-any.whl
Size 643.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1110eab1251eb10793aa2a4ccd50c1caa4dfab40d2a6bbc00aec6e441c320b0
BLAKE2b-256 checksum
How to use checksums
e2b063fd7a8500c6fda8b5c18b0140ac51bf897de3bd3816f4eb79325c781f74
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 Nov 29, 2026.

Transparency log

Security for codapact-jira 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codapact_jira-0.1.0.tar.gz

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 Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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