2.7 KiB
2.7 KiB
name, description
| name | description |
|---|---|
| atlassian | Interact with Atlassian Cloud Jira and Confluence through a portable task-oriented CLI for search, issue/page edits, comments, transitions, and bounded raw requests. |
Atlassian (Claude Code)
Portable Atlassian workflows for Claude Code using a shared TypeScript CLI.
Requirements
- Node.js 20+
pnpm- Atlassian Cloud account access
ATLASSIAN_BASE_URLATLASSIAN_EMAILATLASSIAN_API_TOKEN
First-Time Setup
mkdir -p ~/.claude/skills/atlassian
cp -R skills/atlassian/claude-code/* ~/.claude/skills/atlassian/
cd ~/.claude/skills/atlassian/scripts
pnpm install
Prerequisite Check (MANDATORY)
cd ~/.claude/skills/atlassian/scripts
node -e "require.resolve('commander');require.resolve('dotenv');console.log('OK: runtime dependencies installed')"
test -n \"$ATLASSIAN_BASE_URL\"
test -n \"$ATLASSIAN_EMAIL\"
test -n \"$ATLASSIAN_API_TOKEN\"
pnpm atlassian health
If any check fails, stop and return:
Missing dependency/config: atlassian requires installed CLI dependencies and valid Atlassian Cloud credentials. Run setup and configure ATLASSIAN_* env vars, then retry.
Supported Commands
pnpm atlassian healthpnpm atlassian jira-search --jql "..."pnpm atlassian jira-get --issue ABC-123pnpm atlassian jira-create ... [--dry-run]pnpm atlassian jira-update ... [--dry-run]pnpm atlassian jira-comment ... [--dry-run]pnpm atlassian jira-transitions --issue ABC-123pnpm atlassian jira-transition ... [--dry-run]pnpm atlassian conf-search --query "..."pnpm atlassian conf-get --page 12345pnpm atlassian conf-create ... [--dry-run]pnpm atlassian conf-update ... [--dry-run]pnpm atlassian conf-comment ... [--dry-run]pnpm atlassian conf-children --page 12345pnpm atlassian raw --product jira|confluence --method GET|POST|PUT --path ...
Usage Examples
pnpm atlassian jira-search --jql "project = ENG ORDER BY updated DESC" --max-results 10pnpm atlassian conf-comment --page 12345 --body-file comment.storage.html --dry-runpnpm atlassian raw --product jira --method GET --path "/rest/api/3/issue/ENG-123"
Safety Rules
- Default output is JSON; only switch to text output when the user needs a human-readable summary.
- Use
--dry-runbefore any write unless the user clearly asked for the mutation. - Treat
rawas an escape hatch, not the default API surface. --body-filemust stay inside the current workspace.- Confluence write bodies should be storage-format inputs in v1.
Notes
- Atlassian Cloud is the primary supported platform in v1.
- The portable CLI exists so the same skill works consistently across multiple agent environments.