Jira

From mvanhorn/printing-press-library · View interactive version

Jira is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Printing Press CLI for Jira Cloud Platform. Jira Cloud Platform REST API documentation

How to use this skill

Skill file

Jira Cloud Platform — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the jira-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:

```bash

npx -y @mvanhorn/printing-press-library install jira --cli-only

```

  1. Verify: jira-pp-cli --version
  2. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/project-management/jira/cmd/jira-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Command Reference

announcement-banner — This resource represents an announcement banner. Use it to retrieve and update banner configuration.

app — Manage app

application-properties — Manage application properties

applicationrole — Manage applicationrole

atlassian-connect — Manage atlassian connect

attachment — Manage attachment

auditing — Manage auditing

avatar — This resource represents system and custom avatars. Use it to obtain the details of system or custom avatars, add and remove avatars from a project, issue type or priority and obtain avatar images.

bulk — Manage bulk

changelog — Manage changelog

classification-levels — This resource represents classification levels.

comment — Manage comment

component — Manage component

config — Manage config

configuration — Manage configuration

custom-field-option — Manage custom field option

dashboard — This resource represents dashboards. Use it to obtain the details of dashboards as well as get, create, update, or remove item properties and gadgets from dashboards.

data-policy — Manage data policy

events — Manage events

expression — Manage expression

field — Manage field

fieldconfiguration — Manage fieldconfiguration

fieldconfigurationscheme — Manage fieldconfigurationscheme

filter — This resource represents filters. Use it to get, create, update, or delete filters. Also use it to configure the columns for a filter and set favorite filters.

forge — Manage forge

group — This resource represents groups of users. Use it to get, create, find, and delete groups as well as add and remove users from groups. (\[WARNING\] The standard Atlassian group names are default names only and can be edited or deleted. For example, an admin or Atlassian support could delete the default group jira-software-users or rename it to jsw-users at any point. See https://support.atlassian.com/user-management/docs/create-and-update-groups/ for details.)

groups — This resource represents groups of users. Use it to get, create, find, and delete groups as well as add and remove users from groups. (\[WARNING\] The standard Atlassian group names are default names only and can be edited or deleted. For example, an admin or Atlassian support could delete the default group jira-software-users or rename it to jsw-users at any point. See https://support.atlassian.com/user-management/docs/create-and-update-groups/ for details.)

groupuserpicker — Manage groupuserpicker

instance — Manage instance

internal — Manage internal

issue — This resource represents Jira issues. Use it to:

issue-link — This resource represents links between issues. Use it to get, create, and delete links between issues.

To use it, the site must have issue linking enabled.

issue-link-type — This resource represents issue link types. Use it to get, create, update, and delete link issue types as well as get lists of all link issue types.

To use it, the site must have issue linking enabled.

issues — This resource represents Jira issues. Use it to:

issuesecurityschemes — Manage issuesecurityschemes

issuetype — Manage issuetype

issuetypescheme — Manage issuetypescheme

issuetypescreenscheme — Manage issuetypescreenscheme

jira-search — Manage jira cloud platform search

jira-version — Manage jira cloud platform version

jira-workflow — Manage jira cloud platform workflow

jql — This resource represents JQL search auto-complete details. Use it to obtain JQL search auto-complete data and suggestions for use in programmatic construction of queries or custom query builders. It also provides operations to:

label — This resource represents available labels. Use it to get available labels for the global label field.

license — Manage license

mypermissions — Manage mypermissions

mypreferences — Manage mypreferences

myself — This resource represents information about the current user, such as basic details, group membership, application roles, preferences, and locale. Use it to get, create, update, and delete (restore default) values of the user's preferences and locale.

notificationscheme — Manage notificationscheme

permissions — This resource represents permissions. Use it to obtain details of all permissions and determine whether the user has certain permissions.

permissionscheme — Manage permissionscheme

plans — This resource represents plans. Use it to get, create, duplicate, update, trash and archive plans.

priority — Manage priority

priorityscheme — Manage priorityscheme

project — This resource represents projects. Use it to get, create, update, and delete projects. Also get statuses available to a project, a project's notification schemes, and update a project's type.

project-category — Manage project category

project-template — This resource represents project templates. Use it to create a new project from a custom template.

projects — This resource represents projects. Use it to get, create, update, and delete projects. Also get statuses available to a project, a project's notification schemes, and update a project's type.

projectvalidate — Manage projectvalidate

redact — Manage redact

resolution — Manage resolution

role — Manage role

screens — This resource represents the screens used to record issue details. Use it to:

screenscheme — Manage screenscheme

securitylevel — Manage securitylevel

server-info — This resource provides information about the Jira instance.

settings — Manage settings

status — This resource represents statuses. Use it to search, get, create, delete, and change statuses.

statuscategory — Manage statuscategory

statuses — Manage statuses

task — This resource represents a long-running asynchronous tasks. Use it to obtain details about the progress of a long-running task or cancel a long-running task.

ui-modifications — Manage ui modifications

universal-avatar — Manage universal avatar

user — This resource represent users. Use it to:

users — This resource represent users. Use it to:

webhook — This resource represents webhooks. Webhooks are calls sent to a URL when an event occurs in Jira for issues specified by a JQL query. Only Connect and OAuth 2.0 apps can register and manage webhooks. For more information, see Webhooks.

workflows — This resource represents workflows. Use it to:

workflowscheme — Manage workflowscheme

worklog — Manage worklog

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

jira-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Auth Setup

Run jira-pp-cli auth setup for the URL and steps to obtain a token (add --launch to open the URL). Then store it:

jira-pp-cli auth set-token YOUR_TOKEN_HERE

Or set JIRA_OAUTH2 as an environment variable.

Run jira-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

jira-pp-cli attachment get mock-value --agent --select id,name,status

```

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

jira-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
jira-pp-cli feedback --stdin < notes.txt
jira-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.jira-pp-cli/feedback.jsonl. They are never POSTed unless JIRA_FEEDBACK_ENDPOINT is set AND either --send is passed or JIRA_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |

|------|--------|

| stdout | Default; write to stdout only |

| file:<path> | Atomically write output to <path> (tmp + rename) |

| webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

jira-pp-cli profile save briefing --json
jira-pp-cli --profile briefing attachment get mock-value
jira-pp-cli profile list --json
jira-pp-cli profile show briefing
jira-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Async Jobs

For endpoints that submit long-running work, the generator detects the submit-then-poll pattern (a job_id/task_id/operation_id field in the response plus a sibling status endpoint) and wires up three extra flags on the submitting command:

| Flag | Purpose |

|------|---------|

| --wait | Block until the job reaches a terminal status instead of returning the job ID immediately |

| --wait-timeout | Maximum wait duration (default 10m, 0 means no timeout) |

| --wait-interval | Initial poll interval (default 2s; grows with exponential backoff up to 30s) |

Use async submission without --wait when you want to fire-and-forget; use --wait when you want one command to return the finished artifact.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 2 | Usage error (wrong arguments) |

| 3 | Resource not found |

| 4 | Authentication required |

| 5 | API error (upstream issue) |

| 7 | Rate limited (wait and retry) |

| 10 | Config error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show jira-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:

claude mcp add jira-pp-mcp -- jira-pp-mcp

Verify: claude mcp list

Direct Use

  1. Check if installed: which jira-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

jira-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: jira-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.