jira-integration
できること
プロジェクト管理システムであるJiraとやり取りするためのツールです。チケットの情報を取得したり、ステータスを更新したり、コメントを追加したりできます。すべてAIとの会話から直接行えます。
使う場面
- ✓Jiraのチケットの詳細を確認したいとき。
- ✓チケットの進捗を更新したり、ステータスを変更したりしたいとき。
- ✓特定のチケットにコメントを追加したいとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/skills/jira-integration/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チケットPROJ-1234を取得して、ステータスと担当者を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはあなたの認証情報を使ってJiraに接続します。推奨される方法であるMCPを使うか、REST APIに直接接続できます。最初に一度設定が必要です。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Jira Integration Skill
Retrieve, analyze, and update Jira tickets directly from your AI coding workflow. Supports both MCP-based (recommended) and direct REST API approaches.
When to Activate
- Fetching a Jira ticket to understand requirements
- Extracting testable acceptance criteria from a ticket
- Adding progress comments to a Jira issue
- Transitioning a ticket status (To Do → In Progress → Done)
- Linking merge requests or branches to a Jira issue
- Searching for issues by JQL query
Prerequisites
Option A: MCP Server (Recommended)
Install the mcp-atlassian MCP server. This exposes Jira tools directly to your AI agent.
Requirements:
- Python 3.10+
uvx(fromuv), installed via your package manager or the officialuvinstallation documentation
Add to your MCP config (e.g., ~/.claude.json → mcpServers):
{
"jira": {
"command": "uvx",
"args": ["mcp-atlassian==0.21.0"],
"env": {
"JIRA_URL": "https://YOUR_ORG.atlassian.net",
"JIRA_EMAIL": "your.email@example.com",
"JIRA_API_TOKEN": "your-api-token"
},
"description": "Jira issue tracking — search, create, update, comment, transition"
}
}
Security: Never hardcode secrets. Prefer setting
JIRA_URL,JIRA_EMAIL, andJIRA_API_TOKENin your system environment (or a secrets manager). Only use the MCPenvblock for local, uncommitted config files.
To get a Jira API token:
- Go to https://id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token
- Copy the token — store it in your environment, never in source code
Option B: Direct REST API
If MCP is not available, use the Jira REST API v3 directly via curl or a helper script.
Required environment variables:
| Variable | Description |
|---|---|
JIRA_URL |
Your Jira instance URL (e.g., https://yourorg.atlassian.net) |
JIRA_EMAIL |
Your Atlassian account email |
JIRA_API_TOKEN |
API token from id.atlassian.com |
Store these in your shell environment, secrets manager, or an untracked local env file. Do not commit them to the repo.
For direct curl examples, keep credentials out of command-line arguments by passing the Jira user config on stdin:
jira_curl() {
printf 'user = "%s:%s"\n' "$JIRA_EMAIL" "$JIRA_API_TOKEN" |
curl -s -K - "$@"
}
MCP Tools Reference
When the mcp-atlassian MCP server is configured, these tools are available:
| Tool | Purpose | Example |
|---|---|---|
jira_search |
JQL queries | project = PROJ AND status = "In Progress" |
jira_get_issue |
Fetch full issue details by key | PROJ-1234 |
jira_create_issue |
Create issues (Task, Bug, Story, Epic) | New bug report |
jira_update_issue |
Update fields (summary, description, assignee) | Change assignee |
jira_transition_issue |
Change status | Move to "In Review" |
jira_add_comment |
Add comments | Progress update |
jira_get_sprint_issues |
List issues in a sprint | Active sprint review |
jira_create_issue_link |
Link issues (Blocks, Relates to) | Dependency tracking |
jira_get_issue_development_info |
See linked PRs, branches, commits | Dev context |
Tip: Always call
jira_get_transitionsbefore transitioning — transition IDs vary per project workflow.
Direct REST API Reference
Fetch a Ticket
jira_curl \
-H "Content-Type: application/json" \
"$JIRA_URL/rest/api/3/issue/PROJ-1234" | jq '{
key: .key,
summary: .fields.summary,
status: .fields.status.name,
priority: .fields.priority.name,
type: .fields.issuetype.name,
assignee: .fields.assignee.displayName,
labels: .fields.labels,
description: .fields.description
}'
Fetch Comments
jira_curl \
-H "Content-Type: application/json" \
"$JIRA_URL/rest/api/3/issue/PROJ-1234?fields=comment" | jq '.fields.comment.comments[] | {
author: .author.displayName,
created: .created[:10],
body: .body
}'
Add a Comment
jira_curl -X POST \
-H "Content-Type: application/json" \
-d '{
"body": {
"version": 1,
"type": "doc",
"content": [{
"type": "paragraph",
"content": [{"type": "text", "text": "Your comment here"}]
}]
}
}' \
"$JIRA_URL/rest/api/3/issue/PROJ-1234/comment"
Transition a Ticket
# 1. Get available transitions
jira_curl \
…
よくある質問
MCPとは何ですか?
MCPは、AIがJiraなどの他のツールと通信しやすくする仕組みです。このツールを使う際に推奨される方法です。
REST APIとは何ですか?
REST APIは、Jiraに特定の命令を送るような、より直接的な通信方法です。MCPが使えない場合に利用できます。
Jiraの認証情報はどのように設定しますか?
JiraのURL、メールアドレス、APIトークンを入力する必要があります。これらの情報は安全に管理し、他人と共有しないことが大切です。
詳細
作者による元の説明
Use this skill when retrieving Jira tickets, analyzing requirements, updating ticket status, adding comments, or transitioning issues. Provides Jira API patterns via MCP or direct REST calls.
repo: affaan-m/ECC
人気
- GitHubのスター
- 280k
- ランキング
- #347
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
accessibility
280kエージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
archify
260k小さなJSONの仕様を、確認済みの対話型HTML図に変えるArchifyをインストールします。その図は、画像や動画として書き出すこともできます。
concept-diagrams
260k1つのHTMLファイルとSVGの図として、物理学、生物学、解剖学、間取り図、プロセスを扱う、シンプルでフラットな教育用の図を作ります。