jira
Jira integration via jira-cli. Use when: searching issues, viewing issue details, creating issues, transitioning status, adding comments, logging work, managing sprints, managing boards, linking issues, formatting descriptions with wiki markup, converting Markdown to Jira format, or using bug/feature templates. Keywords: jira issue, jira ticket, jira format, wiki markup, jira syntax. Requires jira-cli installed via `brew install jira-cli`.
What this skill does
# Jira
Jira operations via [jira-cli](https://github.com/ankitpokhrel/jira-cli) with wiki markup formatting.
## Wiki Markup Syntax
Jira uses wiki markup, **NOT Markdown**. Use this reference when writing descriptions or comments:
| Jira Syntax | Purpose | NOT this (Markdown) |
|-------------|---------|---------------------|
| `h2. Title` | Heading | `## Title` |
| `*bold*` | Bold | `**bold**` |
| `_italic_` | Italic | `*italic*` |
| `{{code}}` | Inline code | `` `code` `` |
| `{code:java}...{code}` | Code block | ` ```java ``` ` |
| `[text\|url]` | Link | `[text](url)` |
| `[PROJ-123]` | Issue link | - |
| `[~username]` | User mention | `@username` |
| `* item` | Bullet list | `- item` |
| `# item` | Numbered list (see warning) | `1. item` |
| `\|\|Header\|\|` | Table header | `\|Header\|` |
**Wiki Markup Pitfalls (Jira Cloud):**
- `# item` numbered lists often render as h1 headings in Jira Cloud. Prefer `* item` bullets instead.
- `* *bold text*` breaks bullet lists — the bold `*` collides with the bullet `*`. Avoid bold as the first word of a bullet, or use `_italic_` instead.
- `{code}` blocks may escape parentheses and special characters when submitted via CLI. Use `{noformat}` or nested bullets for simple structured text.
See `references/syntax-reference.md` for complete documentation.
## Prerequisites
```bash
# Install jira-cli
brew install jira-cli
# Configure (interactive)
jira init
# Verify setup
jira serverinfo
jira me
```
## Troubleshooting Auth
If `jira me` fails with a token error, the token likely exists but isn't visible in the current shell. Check these locations before asking the user to generate a new one:
```bash
# 1. Is the env var set in this shell?
echo $JIRA_API_TOKEN
# 2. Is direnv loading it from a shared env file?
grep -r "JIRA_API_TOKEN" ~/.config/direnv/envrc.d/ 2>/dev/null
# 3. Is it in a project-specific .envrc that hasn't been sourced here?
grep -rl "JIRA" ~/Code/**/.envrc 2>/dev/null
# 4. Is there a dedicated env file for the Ruby scripts?
cat ~/.env.jira 2>/dev/null
# 5. Check the jira-cli config itself
cat ~/.config/.jira/.config.yml | head -10
```
Common fix: if the token is loaded via direnv in another project, add a `.envrc` to the current project that sources the same shared file (e.g. `source_env ~/.config/direnv/envrc.d/envato.sh`), then run `direnv allow`.
## Switching Projects and Boards
jira-cli stores its default project and board in `~/.config/.jira/.config.yml`. When switching teams or projects, update these fields:
```yaml
board:
id: 2469 # Board ID (find via: jira board list -p PROJ)
name: My Team Board # Display name
type: kanban # kanban or scrum
# ...
project:
key: EN # Project key
type: classic # classic or next-gen
```
You can also override the project per-command with `-p PROJECT` without changing the config.
## Quick Reference
| Operation | Command |
|-----------|---------|
| Search issues | `jira issue list -q "JQL"` |
| View issue | `jira issue view KEY` |
| Create issue | `jira issue create -t Type -s "Summary"` |
| Edit issue | `jira issue edit KEY` |
| Assign issue | `jira issue assign KEY USER` |
| Transition | `jira issue move KEY "Status"` |
| Add comment | `jira issue comment add KEY "text"` |
| Log work | `jira issue worklog add KEY TIME` |
| Link issues | `jira issue link KEY1 KEY2 TYPE` |
| List sprints | `jira sprint list BOARD_ID` |
| List boards | `jira board list -p PROJECT` |
| Current user | `jira me` |
| Find fields | `ruby scripts/jira_fields.rb search TERM` |
## Search & List Issues
```bash
# All issues in project
jira issue list -p PROJ
# With JQL query
jira issue list -q "project = PROJ AND status = 'In Progress'"
# Filter by status, type, priority, assignee
jira issue list -p PROJ -s "To Do" -t Bug -yHigh -a "[email protected]"
# Unassigned issues
jira issue list -p PROJ -ax
# Recently created (last 7 days)
jira issue list -p PROJ --created -7d
# Issues I'm watching
jira issue list -w
# Plain output for scripting
jira issue list -p PROJ --plain --columns KEY,SUMMARY,STATUS --no-truncate
# CSV export
jira issue list -p PROJ --csv > issues.csv
# JSON output
jira issue list -p PROJ --raw
```
## View Issue
```bash
# Basic view
jira issue view PROJ-123
# With comments
jira issue view PROJ-123 --comments 5
# Open in browser
jira open PROJ-123
```
## Create Issue
```bash
# Basic creation
jira issue create -p PROJ -t Task -s "Fix login bug"
# With description and priority
jira issue create -p PROJ -t Bug -s "Login fails" -b "h2. Steps to Reproduce
* Navigate to login
* Enter credentials
* Click submit
h2. Expected
Login succeeds
h2. Actual
500 error" -yHigh
# With labels and components
jira issue create -p PROJ -t Story -s "New feature" -l backend -l "high prio" -C "API"
# Sub-task (requires parent)
jira issue create -p PROJ -t Sub-task -s "Subtask" -P PROJ-100
# With custom fields
jira issue create -p PROJ -t Story -s "Feature" --custom "customfield_10001=value"
# Non-interactive (skip prompts)
jira issue create -p PROJ -t Task -s "Quick task" --no-input
```
## Edit Issue
```bash
# Edit summary
jira issue edit PROJ-123 -s "New summary"
# Edit description
jira issue edit PROJ-123 -b "Updated description"
# Change priority
jira issue edit PROJ-123 -yHigh
# Add labels
jira issue edit PROJ-123 -l newlabel
```
## Assign Issue
```bash
# Assign to user
jira issue assign PROJ-123 "[email protected]"
# Assign to me
jira issue assign PROJ-123 $(jira me)
# Default assignee
jira issue assign PROJ-123 default
# Unassign
jira issue assign PROJ-123 x
```
## Transition (Move) Issue
```bash
# Move to status
jira issue move PROJ-123 "In Progress"
jira issue move PROJ-123 "Done"
# With resolution
jira issue move PROJ-123 "Done" -R"Fixed"
# Assign during transition
jira issue move PROJ-123 "In Progress" -a$(jira me)
```
## Comments
```bash
# Add comment
jira issue comment add PROJ-123 "Fixed in commit abc123"
# Add comment from file
jira issue comment add PROJ-123 -T comment.txt
# List comments (via issue view)
jira issue view PROJ-123 --comments 10
```
## Worklogs (Time Tracking)
```bash
# Log time
jira issue worklog add PROJ-123 2h
jira issue worklog add PROJ-123 "1h 30m"
# With comment
jira issue worklog add PROJ-123 2h --comment "Implemented feature X"
```
## Issue Links
```bash
# Link two issues
jira issue link PROJ-123 PROJ-456 "Blocks"
jira issue link PROJ-123 PROJ-456 "Relates"
jira issue link PROJ-123 PROJ-456 "Duplicate"
# Unlink issues
jira issue unlink PROJ-123 PROJ-456
```
## Sprints
```bash
# List sprints for a board
jira sprint list BOARD_ID
# Active sprints only
jira sprint list BOARD_ID --state active
# Add issue to sprint
jira sprint add SPRINT_ID PROJ-123
# Current sprint issues
jira sprint list BOARD_ID --current
```
## Boards
```bash
# List boards for project
jira board list -p PROJ
# Get board ID, then use for sprint operations
```
**Note:** `jira board list` does not support `--plain` or other output flags. It always outputs a simple table.
## Output Formats
| Flag | Description |
|------|-------------|
| (default) | Interactive TUI mode |
| `--plain` | Plain text table |
| `--csv` | CSV format |
| `--raw` | Raw JSON |
| `--no-truncate` | Show full field values |
| `--columns KEY,SUMMARY,...` | Select columns |
| `--no-headers` | Hide table headers |
## Templates
Use these templates for well-structured issues:
- **Bug Report**: `templates/bug-report-template.md` - Environment, Steps to Reproduce, Expected/Actual, Error Messages
- **Feature Request**: `templates/feature-request-template.md` - Overview, User Stories, Acceptance Criteria, Technical Approach
## Syntax Validation
Validate wiki markup before submitting:
```bash
scripts/validate-jira-syntax.sh path/to/content.txt
```
Checks for common Markdown mistakes and suggests Jira equivalents.
## Field Discovery
jira-cli cannot list available fields. Use the included RuRelated in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.