Skip to content
Development
Command

/f5-jira

Jira integration - setup, sync, status, convert, issues, attachments

From plugin
f5-framework
2469 skills104 agents69 commands
Install
$ npx -y skills add Fujigo-Software/f5-framework-claude --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/f5-jira

Context preview

What this command does when you run it.

Jira integration - setup, sync, status, convert, issues, attachments

Command definition

f5-jira.md
description: Jira integration - setup, sync, status, convert, issues, attachments
argument-hint: <subcommand> [options]

/f5-jira - Unified Jira Integration

Consolidated command for all Jira operations. Replaces:

  • f5-jira-setup → `/f5-jira setup`
  • f5-jira-sync → `/f5-jira sync`
  • f5-jira-status → `/f5-jira status`
  • f5-jira-convert → `/f5-jira convert`
  • f5-jira-issue → `/f5-jira issue`
  • f5-jira-attachments → `/f5-jira attachments`

ARGUMENTS

$ARGUMENTS

STEP 1: DETECT SUBCOMMAND

Parse the request to determine action:

| Pattern | Subcommand | Description | |---------|------------|-------------| | `setup`, `config`, `cấu hình` | **SETUP** | Configure Jira connection | | file path (`.xlsx`, `.csv`) | **SYNC_FILE** | Sync specific file to Jira | | `sync`, `đồng bộ` (no file) | **SYNC** | Sync all pending issues | | `status`, `check`, `kiểm tra` | **STATUS** | Show integration status | | `convert` | **CONVERT** | Convert Excel → Jira format | | `issue` + action | **ISSUE** | CRUD operations on issues | | `attachments`, `images`, `ảnh` | **ATTACHMENTS** | Manage attachments | | (empty/default) | **STATUS** | Show status overview |

---

SUBCOMMAND: SETUP

Configure Jira connection. Interactive wizard or manual config.

Usage

/f5-jira setup              # Interactive wizard
/f5-jira setup --cloud      # Jira Cloud guide
/f5-jira setup --server     # Jira Server/DC guide
/f5-jira setup --test       # Test connection

Interactive Setup Flow

# Check if already configured
if [ -f ".f5/integrations.json" ]; then
  CONFIGURED=$(jq -r '.jira.configured // false' .f5/integrations.json 2>/dev/null)
  if [ "$CONFIGURED" == "true" ]; then
    echo "✅ Jira already configured"
    jq '.jira | {url, project, email}' .f5/integrations.json
    echo ""
    echo "Run '/f5-jira setup --force' to reconfigure"
    exit 0
  fi
fi

# Run setup wizard
f5 jira setup

Jira Cloud Setup Guide

## Jira Cloud Setup

1. **Get API Token:**
   https://id.atlassian.com/manage-profile/security/api-tokens

2. **Run Setup:**
   ```bash
   f5 jira setup

3. **Enter credentials:**

  • URL: `https://your-domain.atlassian.net`
  • Email: `your-email@company.com`
  • Token: `<your-api-token>`
  • Project: `PROJECT_KEY`

### Jira Server/Data Center Guide

```markdown
## Jira Server Setup

1. **Get Personal Access Token:**
   Profile → Personal Access Tokens → Create token

2. **Run Setup:**
   ```bash
   f5 jira setup

3. **Enter credentials:**

  • URL: `http://jira.company.com:8080`
  • Token: `<your-pat-token>`
  • Project: `PROJECT_KEY`

### Test Connection

```bash
f5 jira test

---

SUBCOMMAND: SYNC (+ SYNC_FILE)

Sync issues between local and Jira.

Usage

/f5-jira sync                    # Sync all pending
/f5-jira sync requirements.xlsx  # Sync specific file
/f5-jira sync --dry-run          # Preview only
/f5-jira sync --push             # Push to Jira only
/f5-jira sync --pull             # Pull from Jira only

Quick Sync (Most Common)

When a file path is provided:

# 1. Check config
if [ ! -f .f5/integrations.json ]; then
  echo "❌ Jira not configured. Run: /f5-jira setup"
  exit 1
fi

# 2. Copy file to input directory
FILE="$EXTRACTED_FILE_PATH"
mkdir -p .f5/input
cp "$FILE" .f5/input/ 2>/dev/null || true

# 3. Convert Excel → Issues
f5 jira convert --force

# 4. Sync to Jira (creates NEW or UPDATES existing)
f5 jira sync

# 5. Upload attachments (skips already uploaded)
f5 jira push-attachments

Sync Preview (--dry-run)

## 🔄 Jira Sync Preview

**Project:** {{PROJECT}}
**Local Issues:** {{COUNT}}

### Changes Detected
| Status | Count | Action |
|--------|-------|--------|
| ✚ New | {{NEW}} | Will create on Jira |
| ↻ Updated | {{UPDATED}} | Will update on Jira |
| = Unchanged | {{UNCHANGED}} | Skip |
| ⚠ Conflicts | {{CONFLICTS}} | Needs resolution |

Sync Flags

| Flag | Description | |------|-------------| | `--push` | Push local → Jira only | | `--pull` | Pull Jira → local only | | `--dry-run` | Preview without executing | | `--force` | Overwrite conflicts | | `--conflict <strategy>` | Resolution: `local-wins`, `remote-wins`, `newest-wins` |

---

SUBCOMMAND: STATUS

Show comprehensive Jira integration status.

Usage

/f5-jira status              # Full overview
/f5-jira status --verbose    # Detailed info
/f5-jira status --mappings   # Show local↔remote mappings
/f5-jira status diagnose     # Full diagnostic

Execute

f5 jira status
ls -la .f5/input/ 2>/dev/null
ls -la .f5/attachments/ 2>/dev/null | head -10

Output Format

## 📊 Jira Integration Status

### Configuration
| Property | Value |
|----------|-------|
| Status | ✅ Configured |
| URL | {{JIRA_URL}} |
| Project | {{PROJECT}} |
| Connection | {{STATUS}} |
| Last Sync | {{LAST_SYNC}} |

### Input Files
| File | Status | Issues |
|------|--------|--------|
| issues.xlsx | ✓ converted | 45 |
| bugs.xlsx | ↻ changed | 23 |

### Local Issues
- Total: {{TOTAL}} issues
- Synced: {{SYNCED}}
- Pending: {{PENDING}}

### Next Actions
- {{RECOMMENDATION}}

---

SUBCOMMAND: CONVERT

Convert Excel/CSV to Jira-importable format.

Usage

/f5-jira convert                    # Convert all in .f5/input/
/f5-jira convert requirements.xlsx  # Specific file
/f5-jira convert --sheet "Sheet1"   # Specific sheet
/f5-jira convert --dry-run          # Preview
/f5-jira convert --force            # Re-convert even if unchanged

Execute

# Single file
f5 jira convert "$FILENAME" --force

# All files
f5 jira convert --all --force

Column Detection

Supports Japanese and English column names:

| Japanese | English | Jira Field | |----------|---------|------------| | No | ID | External ID | | 種別 | Type | Issue Type | | 優先度 | Priority | Priority | | 概要 | Summary | Summary | | 説明 | Description | Description | | 状態 | Status | Status |

O

Read more
Ships withf5-framework

AI-Powered Development Framework for Claude Code

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
8
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
6mo ago
Created

Repo: Fujigo-Software/f5-framework-claude