Skip to main content

CLI wrapper for Jira Cloud

Project description

pyjiraskill

A small Jira Cloud CLI wrapper built on top of the jira Python library.

Installation

uv sync

uv quickstart

uv sync
uv run pyjiraskill --help

Environment variables

Set the Jira Cloud credentials in your shell:

export JIRA_URL="https://your-domain.atlassian.net"
export JIRA_EMAIL="you@example.com"
export JIRA_API_TOKEN="your-api-token"

Notes on Jira Cloud auth:

Optional field discovery overrides:

export JIRA_FIELD_DISCOVERY_ISSUE="AV-1"
export JIRA_SPRINT_FIELD="customfield_10020"
export JIRA_STORY_POINTS_FIELD="customfield_10016"
export JIRA_RANK_FIELD="customfield_10019"

Commands

Add --json to any command to output machine-readable JSON.

List open issues in a project:

uv run pyjiraskill issues list --project ABC

List open issues with JSON output and extra fields:

uv run pyjiraskill issues list --project ABC --fields priority --fields labels --json

List open epics in a project:

uv run pyjiraskill epics list --project ABC

List open issues in an epic:

uv run pyjiraskill epic issues --epic ABC-123

Swap rank between an epic and another issue:

uv run pyjiraskill epic swap-rank --epic ABC-123 --with XYZ-7

List open issues in a sprint:

uv run pyjiraskill sprint issues --sprint 456

List all sprints in a project:

uv run pyjiraskill sprint list --project ABC

Filter sprint list by state:

uv run pyjiraskill sprint list --project ABC --state active

Get the current sprint for a project:

uv run pyjiraskill sprint current --project ABC

If your project has multiple boards, pass a board ID explicitly:

uv run pyjiraskill sprint current --project ABC --board 123

List open issues in the current sprint:

uv run pyjiraskill sprint current-issues --project ABC

Sprint IDs are numeric. You can usually find them in Jira board URLs that include ?sprint=123 or in the sprint report page.

Create an issue:

uv run pyjiraskill issue add --project ABC --summary "Fix login bug" \
  --description "Details about the failure" --issuetype Task --parent ABC-1 --labels bug,urgent

Transition an issue:

uv run pyjiraskill issue transition --key ABC-123 --to "In Progress"

Move an issue to another sprint:

uv run pyjiraskill issue move-sprint --key ABC-123 --from-sprint 10 --to-sprint 12

Add a comment to an issue:

uv run pyjiraskill issue comment --key ABC-123 --text "Looking into this now."

List open issues assigned to a user:

uv run pyjiraskill issues assigned --user "user@example.com"

Development

Run tests with coverage:

uv run pytest

Run lint checks:

uv run ruff check .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyjiraskill-0.1.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyjiraskill-0.1.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file pyjiraskill-0.1.2.tar.gz.

File metadata

  • Download URL: pyjiraskill-0.1.2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyjiraskill-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8a49b2fd564c63359f6d4258c578aa2a58b9dd4b4080b58cc62ec6356aca2657
MD5 bb2e58a565d7a5c2f5f0816d15b19c1e
BLAKE2b-256 de1796c1caea6e509686ff7d09621e7c556a0161fbbe8ca4297bbdad6123ae20

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyjiraskill-0.1.2.tar.gz:

Publisher: publish.yml on aia/pyjiraskill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyjiraskill-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyjiraskill-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyjiraskill-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d0c76eafda6aa8e2aed9ca249c4bf4737eb95c2fd8eb04c313e673d27f82a17
MD5 87fac2ef3505b0f024c7c2bfe46c9655
BLAKE2b-256 3b187ca627b1843780826a7c2219c6368bc11b7885c6c8c326cbef2a24822fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyjiraskill-0.1.2-py3-none-any.whl:

Publisher: publish.yml on aia/pyjiraskill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page