Rhdh Jira Api
ASecurityReads RHDH Jira and owns the mechanics every other RHDH Jira skill needs: `acli` flags and their traps, JQL for RHIDP, RHDHPLAN, RHDHBUGS and RHDHSUPP, custom field IDs, GraphQL and REST fallbacks, board and sprint IDs, the component catalog, and the workflow states with their exit criteria. Use to look up an issue such as RHIDP-1234, to write or debug a JQL query, to answer "which field is Story Points", "why is my search returning 30 rows", or "what does Release Pending require". Reading an...
- 21 stars
- 0 votes
- 0 copies
- 3 views
- Added September 3, 2026
Works with
Security analysis
100/100Pro scans all 14 files and shows the line behind each finding
npx -y skills add redhat-developer/rhdh-skill --skill rhdh-jira-api --agent claude-codeAre you the author of Rhdh Jira Api?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/redhat-developer-rhdh-jira-api)---
name: rhdh-jira-api
description: >-
Reads RHDH Jira and owns the mechanics every other RHDH Jira skill needs:
`acli` flags and their traps, JQL for RHIDP, RHDHPLAN, RHDHBUGS and RHDHSUPP,
custom field IDs, GraphQL and REST fallbacks, board and sprint IDs, the
component catalog, and the workflow states with their exit criteria. Use to
look up an issue such as RHIDP-1234, to write or debug a JQL query, to answer
"which field is Story Points", "why is my search returning 30 rows", or "what
does Release Pending require". Reading and query mechanics only — deciding
what to file, judging readiness, or changing an issue belongs to the Jira
skill that owns that verb.
compatibility: "acli on PATH with a Jira session; Python 3.9+ and uv for the bundled scripts; an authenticated host Atlassian adapter for GraphQL, REST fallbacks, and MCP tool calls. Windows, macOS, Linux."
---
# RHDH Jira API
One home for talking to Jira. The command syntax, the field IDs, the query
patterns, and the workflow rules live here so that the create, refine, update,
and sprint skills carry none of their own copies.
This skill reads. It never decides what to file and never approves a write —
though it does define exactly what a write costs, because the payload shapes are
here.
## Route by question
| Question | Load |
|---|---|
| Which adapter for this operation? | [references/auth.md](references/auth.md) |
| Which `acli` flag does this, and what breaks? | [references/acli-commands.md](references/acli-commands.md) |
| What JQL answers this? Which board or sprint? | [references/jql-patterns.md](references/jql-patterns.md) |
| Which custom field, label, link type, component, or priority? | [references/fields.md](references/fields.md) |
| How do I create or query a private (Security Level) issue? | [references/fields.md](references/fields.md) (Private issues; also jql-patterns / acli-commands) |
| What must be true before this status transition? | [references/workflows.md](references/workflows.md) |
| I need a relationship-heavy bulk read or a team roster | [references/graphql-queries.md](references/graphql-queries.md) |
| `acli` cannot read or set this field | [references/rest-api-fallback.md](references/rest-api-fallback.md) |
| Sprint report or burndown-chart numbers | [references/rest-api-fallback.md](references/rest-api-fallback.md), then `uv run scripts/greenhopper.py` |
Load the one branch the question needs.
## Adapter choice
Two adapters cover the full Jira surface. Use the one that fits the operation;
do not default to `acli` for every call.
**Prefer the authenticated host Atlassian adapter (MCP tools) for:**
- All single-issue reads — no silent empty-field trap, and custom fields come back when asked for.
- All custom-field writes — Story Points, Size, Team, Release Note Type — native in the `fields` dict, no REST fallback step.
- Issue create — priority, components, and parent link in one call; `acli create` rejects those flags.
- Remote links (PR/web-link attachment) — `acli` has no equivalent.
- Comment visibility restrictions (role/group-scoped comments via `commentVisibility`).
- Worklog authoring.
- Confluence operations.
- Cross-product Teamwork Graph relationships (Atlas projects, goals).
**Prefer `acli` for:**
- Batch transitions by JQL (`--jql "..." --yes`).
- Batch edits by JQL.
- Board and sprint reads — the host adapter has them, but only behind `discover` plus `executeRead`.
- All-pages auto-walk (`--paginate`), where explicit `nextPageToken` looping is inconvenient.
- Saved filter lookup and attachment list/delete — same shape: host adapter `discover` first, `acli` in one call.
**Compass has no host-adapter tool.** MCP v2 dropped the Compass tools that MCP v1 exposed, and
`acli` has no equivalent, so Compass work goes through
[references/rest-api-fallback.md](references/rest-api-fallback.md).
**Only some host-adapter operations are direct calls.** The primary tools — `getJiraIssue`,
`searchJiraIssuesUsingJql`, `createJiraIssue`, `editJiraIssue`, `transitionJiraIssue`,
`addOrEditJiraIssueComment`, the Confluence content tools, `search`, and the graph tools — are in the
agent's tool list. Everything else, including remote links, worklogs, attachment transfers, board
sprints and saved filters, needs `discover` to resolve the operation name, then `executeRead` /
`executeWrite` / `executeDestructive` with `cloudId` as a top-level argument. Run `discover` before
concluding the host adapter cannot do something, and never guess an operation name. (On a v1 MCP
server these are all direct tools and `discover` does not exist.)
See [references/auth.md](references/auth.md) for the full decision table and capability check.
## The two `acli` traps that produce wrong answers
Both fail silently. They do not apply when using the host adapter.
**Default page size is 30.** Rows past the thirtieth are dropped with no
warning, so a query that should return 140 issues quietly returns 30 and every
count built on it is wrong. Pass `--limit 500` or `--paginate` on every bulk
`acli` search, and use `--count` first when the total matters.
**Custom fields are absent unless you ask for them.** `acli search --json` and
`acli view KEY --json` return only assignee, issuetype, priority, status, and
summary. Story Points, Team, Size, and Sprint come back empty — which looks
exactly like a field nobody set. Enrich with `scripts/parse_issues.py --enrich`
or `view KEY --fields '*all' --json` before claiming any of them is missing.
When using the host adapter, ask for the fields explicitly — pass `view: 'evidence'` or `'full'`,
or name the site's `customfield_*` IDs, and read them from `fields.customFields`. Neither trap
applies there.
A field you could not retrieve is reported as unretrieved, never as empty.
## Bundled scripts
Run these from this skill's directory.
| Script | Purpose |
|---|---|
| `scripts/setup.py` | Capability and auth detection; `--json` reports `token_file_found` / `token_file_status` without printing file contents |
| `scripts/parse_issues.py` | Enrich, flatten, select, filter, or CSV-export `acli` JSON |
| `scripts/greenhopper.py` | GET Greenhopper sprintreport / scopechange using the local token file in-process |
| `scripts/validate_components.py` | Compare the documented component catalog against live Jira |
| `scripts/jira-wiki-to-adf.py` | Convert a filled wiki-markup template to ADF JSON |
Stdlib only. Another skill invokes `/rhdh-jira-api` by name and lets this skill
run them; it never reaches into this directory by path.
## Writes
This skill does not perform writes, but the payloads live here because the field
IDs do. It hands the caller a command or a payload, never an effect. Whichever
skill owns the verb invokes `/mutation-gate` and runs it from there.
Credentials never appear in an argument, a preview, a log, or the answer. A
command built here takes its credential from `acli`'s own store, the local
token-file adapter (in-process, never printed), or the authenticated host
adapter at run time, so nothing this skill hands back carries one.
## Boundary with the neighbouring skills
- Opening new work is `/rhdh-jira-create`.
- Judging whether existing work is ready is `/rhdh-jira-refine`.
- Changing a field, status, assignee, comment, or link on a known key is `/rhdh-jira-update`.
- Sprint carryover, velocity, and next-sprint capacity are `/rhdh-jira-sprint-plan`; the
end-of-sprint summary is `/rhdh-jira-sprint-report`.
- Whether a team can fit `rhdh-X.Y-candidate` Features through Code Freeze is
`/rhdh-release-capacity-plan`.
- Issue templates, the grill matrix, sizing scales, and decomposition rules are
`/rhdh-jira-authoring`.
- What is still open against a release is `/rhdh-release-status`.
- Creating or repairing a credential is `/setup-rhdh-skills`.
## Completion
A read is complete when every field the answer asserts was actually fetched.
Report the exact JQL or command used, the number of issues returned, and whether
the result was truncated — a truncated result is an incomplete answer, not a
finding. Say which adapter produced each fact, `acli` or the host adapter. A
field the API could not supply is named as unretrieved rather than reported as
empty or carried over from an earlier query.
Files in this skill
- SKILL.md
- agents/openai.yaml
- references/acli-commands.md
- references/auth.md
- references/fields.md
- references/graphql-queries.md
- references/jql-patterns.md
- references/rest-api-fallback.md
- references/workflows.md
- scripts/jira-wiki-to-adf.py
- scripts/parse_issues.py
- scripts/setup.py
- scripts/validate_components.py
- scripts/validate_field_ids.py
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.