dev10x:jira
/dev10x:jira
Zapytuje, łączy i pobiera zgłoszenia JIRA, dbając o dane uwierzytelniające, bezpieczne wzorce curl i hierarchię zadań.
- Autor
- dev10x-guru ↗
- Repozytorium
- dev10x-claude ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 9
- Skrypty
- 7
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 7 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/_jira-env.sh, scripts/jira-comment.sh, scripts/jira-get.sh, scripts/jira-link-types.sh, scripts/jira-link.sh, scripts/jira-search.sh, scripts/jira-update.sh
Co robi i kiedy
Zapytuje, łączy i pobiera zgłoszenia JIRA, dbając o dane uwierzytelniające, bezpieczne wzorce curl i hierarchię zadań.
Oryginalny opis (EN)
Use when querying, linking, or fetching JIRA issues — so credentials, hook-safe curl patterns, and hierarchy gotchas are always at hand
Jak działa
- Prerequisites
- Scripts
- Tenant Wrapper Pattern
- Hook Safety
- JIRA Hierarchy Gotcha
- Common Operations
Podgląd SKILL.md
---
name: dev10x:jira
description: Use when querying, linking, or fetching JIRA issues — so credentials, hook-safe curl patterns, and hierarchy gotchas are always at hand
user-invocable: false
allowed-tools:
- Bash(${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/:*)
---
**Announce:** "Using dev10x:jira to [purpose]."
## Prerequisites
Supply your Atlassian tenant name (e.g., `mycompany` for
`mycompany.atlassian.net`) one of two ways — there is no default:
- **Per call (recommended):** pass `--tenant <name>` as the first
argument, e.g. `jira-get.sh --tenant mycompany PROJ-100`. The flag
binds the tenant as a command *argument*, so the
`Bash(.../scripts/:*)` allow rule still matches — no env-prefix
friction (GH-311).
- **Session-wide:** set the `JIRA_TENANT` env var (used as the
fallback when `--tenant` is absent).
Store credentials in the system keyring:
```bash
secret-tool store --label "JIRA email" service jira key email
secret-tool store --label "JIRA API token" service jira key api_token
```
## Scripts
All scripts live in `${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/` and are
pre-approved via `allowed-tools`.
| Script | Purpose | Example |
|--------|---------|---------|
| `jira-get.sh` | Fetch issue by key | `jira-get.sh PROJ-100` |
| `jira-search.sh` | Search by JQL | `jira-search.sh "text ~ 'wheel nut'"` |
| `jira-link.sh` | Link two issues | `jira-link.sh PROJ-100 "Blocks" PROJ-200` |
| `jira-link-types.sh` | List available link types | `jira-link-types.sh` |
| `jira-update.sh` | Update issue from JSON file | `jira-update.sh PROJ-100 /tmp/payload.json` |
| `jira-comment.sh` | Add a comment from a file | `jira-comment.sh PROJ-100 /tmp/body.md` |
**No create script (GH-631).** These scripts read, search, link,
update, and comment — there is intentionally no `jira-create.sh`.
JIRA issue **creation** goes through the Atlassian MCP
`mcp__claude_ai_Atlassian__createJiraIssue` tool (pre-approved via
the `mcp-atlassian-write` baseline group). `dev10x:ticket-create`'s
JIRA branch calls it directly; see that skill's Step 5.
## Tenant Wrapper Pattern
A tenant wrapper skill (e.g. `acme:jira`) binds a fixed
`JIRA_TENANT` and delegates here. **Do NOT bind the tenant with a
command-line env prefix:**
```bash
# ❌ Anti-pattern — env prefix shifts the allow-rule prefix
JIRA_TENANT=acme ${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-get.sh PROJ-1
```
The leading `JIRA_TENANT=acme` shifts the effective Bash command
prefix, so **no** `Bash(.../scripts/jira-get.sh:*)` allow rule can
ever match — every call hits the permission gate. This is the same
prefix-shift class as the global "No env-var prefix on git" rule.
**For one-off or multi-tenant calls, pass `--tenant <name>` as the
first argument** (see Prerequisites) — the tenant binds as a command
argument, so the allow rule still matches and no wrapper is needed:
```bash
# ✅ Flag form — tenant is an argument, allow rule matches (GH-311)
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-get.sh --tenant acme PROJ-1
```
**To bind a *fixed* tenant across many ops, ship a wrapper script**
that sets the tenant *inside* the command, so the wrapper's own path
is what the allow rule matches:
```bash
# ✅ Wrapper script — tenant binding inside, one allow rule, no friction
~/.claude/skills/acme:jira/scripts/jira-get.sh PROJ-1
```
A copy-paste starting point lives at
[`templates/jira-wrap.sh.example`](templates/jira-wrap.sh.example).
Each thin wrapper `export JIRA_TENANT=<tenant>` then `exec`s the
matching base script. Pre-approve the wrapper directory with one rule:
```json
"Bash(~/.claude/skills/acme:jira/scripts/:*)"
```
This keeps the tenant binding inside the skill (not scattered across
user settings) and covers every base op — get, search, link, update,
comment — without a per-script allow rule or an env-var prefix.
The alternative — setting `JIRA_TENANT` in `~/.claude/settings.json`
under `env:` — also removes the prefix, but binds a single tenant for
the whole session and so cannot serve multiple tenants. Prefer the
wrapper-script approach.
## Hook Safety
The PreToolUse hook **blocks `for` loops** in Bash commands. Always call scripts individually — one call per Bash tool use.
```bash
# ❌ Blocked by hook
for payload in '...' '...'; do curl ...; done
# ✅ Separate tool calls
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-link.sh PROJ-100 "1-Relates" PROJ-200
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-link.sh PROJ-100 "1-Relates" PROJ-300
```
## JIRA Hierarchy Gotcha
**Task → Task parent assignment fails** with: `"Given parent work item does not belong to appropriate hierarchy."`
Tasks can only be children of Epics. Use **issue links** instead for same-level relationships:
| Need | Use |
|------|-----|
| Group related tasks | `1-Relates` link |
| Sequence work | `Blocks` link (`inward` blocks `outward`) |
| True parent/child | Create an Epic and use the `parent` field |
## Common Operations
### Fetch an issue
```bash
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-get.sh PROJ-100
```
### Search issues
```bash
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-search.sh "text ~ 'search term' ORDER BY created DESC"
```
### Link tickets (inward [type] outward)
```bash
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-link.sh PROJ-100 "1-Relates" PROJ-200
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-link.sh PROJ-100 "Blocks" PROJ-200
```
HTTP 201 = success.
### Update an issue from JSON payload
```bash
# Write ADF payload to a file first, then update
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-update.sh PROJ-100 /tmp/claude/jira-payload.json
```
HTTP 204 = success.
### Add a comment from a file
```bash
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-comment.sh PROJ-100 /tmp/claude/comment-body.md
```
### List link types
```bash
${CLAUDE_PLUGIN_ROOT}/skills/jira/scripts/jira-link-types.sh
```
Pliki w paczce (9)
- SKILL.md 6 KB
- scripts/_jira-env.sh 1 KB
- scripts/jira-comment.sh 1 KB
- scripts/jira-get.sh 1 KB
- scripts/jira-link-types.sh 1 KB
- scripts/jira-link.sh 1 KB
- scripts/jira-search.sh 1 KB
- scripts/jira-update.sh 1 KB
- templates/jira-wrap.sh.example 2 KB
Wersje
W bazie nie ma innych skilli o nazwie dev10x:jira.
Migawka bazy z 13.11.2026 · wersja paczki b6528454a289 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100code-review-jira
Przeprowadza przegląd kodu dla zgłoszeń JIRA i publikuje wyniki w pull requeście na GitHubie oraz w JIRA. - 100jira
Integruje Jira: podgląd zgłoszeń, generowanie gałęzi z ticketu, tworzenie zgłoszeń i zmiana statusu, wywoływane kluczem zgłoszenia lub komendą /jira. - 100jira-webhooks
Odbiera i weryfikuje webhooki Jira Cloud: obsługa handlerów, debugowanie weryfikacji podpisu oraz zdarzenia zgłoszeń i komentarzy, takie jak jira:issue_created i comment_updated. - 95jira-issue-sync
Synchronizuje zgłoszenia Jira z lokalnymi zadaniami, przy codziennym planowaniu lub gdy ktoś pyta o zgłoszenia. - 96jira-tickets
Tworzy, aktualizuje, sortuje i usuwa zgłoszenia w Jira przez polecenia CLI jira. - 96jira-tickets-from-plan
Tworzy zgłoszenia w Jira na podstawie planu przygotowanego przez AI.