affaan-m/ECC

jira-integration

Jira チケットの取得、要件分析、チケットステータスの更新、コメントの追加、またはイシューのトランジションを行う際に使用します。MCP または直接 REST 呼び出しによる Jira API パターンを提供します。

84CollectingNetwork access
See how to use itView GitHub source
npx skills add https://github.com/affaan-m/ECC --skill "docs/ja-JP/skills/jira-integration"
Automated source guide

Source checked Jul 28, 2026·Refresh due Oct 26, 2026

Reorganized from the pinned upstream SKILL.md

Turn jira-integration's source instructions into a guide you can follow

According to the pinned SKILL.md from affaan-m/ECC: AI コーディングワークフローから直接 Jira チケットを取得・分析・更新します。MCP ベース(推奨)と直接 REST API の両アプローチをサポートします。

npx skills add https://github.com/affaan-m/ECC --skill "docs/ja-JP/skills/jira-integration"
Check the pinned source

Best fit

  • Jira チケットの取得、要件分析、チケットステータスの更新、コメントの追加、またはイシューのトランジションを行う際に使用します。MCP または直接 REST 呼び出しによる Jira API パターンを提供します。

Bring this context

  • A concrete task that matches the documented purpose of jira-integration.
  • The files, examples, or context the task depends on.
  • Your constraints, target environment, and definition of done.

Expected outputs

  • A result that follows the pinned jira-integration instructions.
  • A concise record of assumptions, inputs used, and unresolved questions.
  • A final check against the source workflow and relevant permission signals.

Key source sections

Read jira-integration through these 5 source sections

Sections are extracted automatically from the pinned SKILL.md and link back to the source.

01

アクティベートするタイミング

要件を理解するために Jira チケットを取得する

SKILL.md · アクティベートするタイミング
要件を理解するために Jira チケットを取得するチケットからテスト可能な受け入れ基準を抽出するJira イシューに進捗コメントを追加する
02

前提条件

mcp-atlassian MCP サーバーをインストールします。これにより Jira ツールが AI エージェントに直接公開されます。

SKILL.md · 前提条件
Python 3.10 以上uvx(uv から)、パッケージマネージャーまたは公式 uv インストールドキュメントからインストールにアクセス
03

オプション A: MCP サーバー(推奨)

mcp-atlassian MCP サーバーをインストールします。これにより Jira ツールが AI エージェントに直接公開されます。

SKILL.md · オプション A: MCP サーバー(推奨)
Python 3.10 以上uvx(uv から)、パッケージマネージャーまたは公式 uv インストールドキュメントからインストールにアクセス
04

オプション B: 直接 REST API

MCP が利用できない場合は、curl またはヘルパースクリプトで Jira REST API v3 を直接使用します。

SKILL.md · オプション B: 直接 REST API
MCP が利用できない場合は、curl またはヘルパースクリプトで Jira REST API v3 を直接使用します。シェル環境変数、シークレットマネージャー、またはリポジトリにコミットしないローカル環境ファイルに保存してください。直接 curl 例では、Jira ユーザー設定を標準入力で渡し、認証情報がコマンドライン引数に出ないようにします。
05

MCP ツールリファレンス

mcp-atlassian MCP サーバーが設定されている場合、以下のツールが利用可能です。

SKILL.md · MCP ツールリファレンス
mcp-atlassian MCP サーバーが設定されている場合、以下のツールが利用可能です。ヒント: トランジション前に必ず jiragettransitions を呼び出してください。トランジション ID はプロジェクトのワークフローによって異なります。

SkillSignal prompt templates

Provide the task, context, and acceptance criteria

These prompts were written by SkillSignal from the source structure; they are not upstream text.

Task-start prompt

Confirm source fit, inputs, and outputs before acting.

Use jira-integration to help me with: [specific task]. Context: [files, data, or background]. Constraints: [environment, scope, and prohibited actions]. Before acting, check the pinned SKILL.md and explain which sections apply, what inputs are still missing, and what you will deliver.

Source-guided execution

Make the Agent explicitly follow the key extracted sections.

Apply the pinned jira-integration source to [task]. Pay particular attention to these source sections: “アクティベートするタイミング”, “前提条件”, “オプション A: MCP サーバー(推奨)”, “オプション B: 直接 REST API”, “MCP ツールリファレンス”. Preserve the important decision at each step. Mark facts not covered by the source as “needs confirmation” instead of inventing them. Then verify the result against my acceptance criteria: [criteria].

Result-review prompt

Check omissions, permissions, and source drift before delivery.

Review the current jira-integration result: (1) does it satisfy the original task; (2) were any applicable steps or limits in the pinned SKILL.md missed; (3) did it perform any unauthorized file, command, network, or data action; and (4) which conclusions remain unverified? List issues first, then fix only what the source or user authorization supports.

Output checklist

Verify each item before delivery

The task matches the purpose documented in the SKILL.md.

The source section “アクティベートするタイミング” has been checked.

The source section “前提条件” has been checked.

The source section “オプション A: MCP サーバー(推奨)” has been checked.

The source section “オプション B: 直接 REST API” has been checked.

Inputs, constraints, and acceptance criteria are explicit.

Unverified facts, compatibility, and outcome claims are clearly marked.

Any file, command, network, or data action has been reviewed.

Choose a different workflow

When another Skill is the better fit

FAQ

What does jira-integration do?

AI コーディングワークフローから直接 Jira チケットを取得・分析・更新します。MCP ベース(推奨)と直接 REST API の両アプローチをサポートします。

How do I start using jira-integration?

The catalog detected this source-specific install command: npx skills add https://github.com/affaan-m/ECC --skill "docs/ja-JP/skills/jira-integration". Inspect the command and pinned source before running it.

Which Agent platforms does it declare?

No dedicated Agent platform is declared in the pinned source record.

Repository stars
234,327
Repository forks
35,711
Quality
84/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

84/100
Documentation27/30
Specificity14/25
Maintenance20/20
Trust signals23/25

Compare before choosing

Related Agent Skills and source variants

These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.

View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 2 min

Jira インテグレーションスキル

AI コーディングワークフローから直接 Jira チケットを取得・分析・更新します。MCP ベース(推奨)と直接 REST API の両アプローチをサポートします。

アクティベートするタイミング

  • 要件を理解するために Jira チケットを取得する
  • チケットからテスト可能な受け入れ基準を抽出する
  • Jira イシューに進捗コメントを追加する
  • チケットステータスをトランジションする(To Do → In Progress → Done)
  • マージリクエストやブランチを Jira イシューにリンクする
  • JQL クエリでイシューを検索する

前提条件

オプション A: MCP サーバー(推奨)

mcp-atlassian MCP サーバーをインストールします。これにより Jira ツールが AI エージェントに直接公開されます。

要件:

  • Python 3.10 以上
  • uvxuv から)、パッケージマネージャーまたは公式 uv インストールドキュメントからインストール

MCP 設定に追加(例: ~/.claude.jsonmcpServers):

{
  "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"
  }
}

セキュリティ: シークレットをハードコードしないでください。JIRA_URLJIRA_EMAILJIRA_API_TOKEN はシステム環境変数またはシークレットマネージャーに設定することを推奨します。MCP の env ブロックはローカルのコミットされていない設定ファイルにのみ使用してください。

Jira API トークンの取得方法:

  1. https://id.atlassian.com/manage-profile/security/api-tokens にアクセス
  2. API トークンを作成をクリック
  3. トークンをコピーして環境変数に保存(ソースコードには絶対に保存しない)

オプション B: 直接 REST API

MCP が利用できない場合は、curl またはヘルパースクリプトで Jira REST API v3 を直接使用します。

必要な環境変数:

変数説明
JIRA_URLJira インスタンスの URL(例: https://yourorg.atlassian.net
JIRA_EMAILAtlassian アカウントのメールアドレス
JIRA_API_TOKENid.atlassian.com からの API トークン

シェル環境変数、シークレットマネージャー、またはリポジトリにコミットしないローカル環境ファイルに保存してください。

直接 curl 例では、Jira ユーザー設定を標準入力で渡し、認証情報がコマンドライン引数に出ないようにします。

jira_curl() {
  printf 'user = "%s:%s"\n' "$JIRA_EMAIL" "$JIRA_API_TOKEN" |
    curl -s -K - "$@"
}

MCP ツールリファレンス

mcp-atlassian MCP サーバーが設定されている場合、以下のツールが利用可能です。

ツール目的
jira_searchJQL クエリproject = PROJ AND status = "In Progress"
jira_get_issueキーで完全なイシュー詳細を取得PROJ-1234
jira_create_issueイシューの作成(タスク、バグ、ストーリー、エピック)新しいバグレポート
jira_update_issueフィールドの更新(概要、説明、担当者)担当者の変更
jira_transition_issueステータスの変更"In Review" に移動
jira_add_commentコメントの追加進捗更新
jira_get_sprint_issuesスプリント内のイシュー一覧アクティブスプリントレビュー
jira_create_issue_linkイシューのリンク(Blocks、Relates to)依存関係の追跡
jira_get_issue_development_infoリンクされた PR、ブランチ、コミットの確認開発コンテキスト

ヒント: トランジション前に必ず jira_get_transitions を呼び出してください。トランジション ID はプロジェクトのワークフローによって異なります。

直接 REST API リファレンス

チケットの取得

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
  }'

コメントの取得

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
  }'

コメントの追加

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"

チケットのトランジション

# 1. 利用可能なトランジションを取得
jira_curl \
  "$JIRA_URL/rest/api/3/issue/PROJ-1234/transitions" | jq '.transitions[] | {id, name: .name}'

# 2. トランジションを実行(TRANSITION_ID を置き換える)
jira_curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"transition": {"id": "TRANSITION_ID"}}' \
  "$JIRA_URL/rest/api/3/issue/PROJ-1234/transitions"

JQL での検索

jira_curl -G \
  --data-urlencode "jql=project = PROJ AND status = 'In Progress'" \
  "$JIRA_URL/rest/api/3/search"

チケットの分析

開発またはテスト自動化のためにチケットを取得する際に抽出する内容:

1. テスト可能な要件

  • 機能要件 — 機能が行うこと
  • 受け入れ基準 — 満たさなければならない条件
  • テスト可能な振る舞い — 具体的なアクションと期待される結果
  • ユーザーロール — この機能を使用するのは誰か、その権限
  • データ要件 — 必要なデータ
  • インテグレーションポイント — 関係する API、サービス、またはシステム

2. 必要なテストタイプ

  • ユニットテスト — 個別の関数とユーティリティ
  • インテグレーションテスト — API エンドポイントとサービスインタラクション
  • E2E テスト — ユーザー向け UI フロー
  • API テスト — エンドポイントコントラクトとエラーハンドリング

3. エッジケースとエラーシナリオ

  • 無効な入力(空、長すぎる、特殊文字)
  • 不正アクセス
  • ネットワーク障害またはタイムアウト
  • 同時ユーザーまたはレース条件
  • 境界条件
  • データの欠如または null 値
  • 状態遷移(ナビゲーションの戻り、リフレッシュなど)

4. 構造化された分析出力

Ticket: PROJ-1234
Summary: [チケットタイトル]
Status: [現在のステータス]
Priority: [High/Medium/Low]
Test Types: Unit, Integration, E2E

Requirements:
1. [要件 1]
2. [要件 2]

Acceptance Criteria:
- [ ] [基準 1]
- [ ] [基準 2]

Test Scenarios:
- Happy Path: [説明]
- Error Case: [説明]
- Edge Case: [説明]

Test Data Needed:
- [データ項目 1]
- [データ項目 2]

Dependencies:
- [依存関係 1]
- [依存関係 2]

チケットの更新

更新するタイミング

ワークフローステップJira の更新
作業開始"In Progress" にトランジション
テスト作成完了テストカバレッジサマリーをコメント
ブランチ作成ブランチ名をコメント
PR/MR 作成リンク付きコメント、イシューをリンク
テスト通過結果サマリーをコメント
PR/MR マージ"Done" または "In Review" にトランジション

コメントテンプレート

作業開始:

Starting implementation for this ticket.
Branch: feat/PROJ-1234-feature-name

テスト実装完了:

Automated tests implemented:

Unit Tests:
- [テストファイル 1] — [カバー内容]
- [テストファイル 2] — [カバー内容]

Integration Tests:
- [テストファイル] — [カバーするエンドポイント/フロー]

All tests passing locally. Coverage: XX%

PR 作成:

Pull request created:
[PR Title](https://github.com/org/repo/pull/XXX)

Ready for review.

作業完了:

Implementation complete.

PR merged: [link]
Test results: All passing (X/Y)
Coverage: XX%

セキュリティガイドライン

  • Jira API トークンをソースコードやスキルファイルに絶対にハードコードしない
  • 環境変数またはシークレットマネージャーを必ず使用する
  • すべてのプロジェクトで .env.gitignore追加する
  • git 履歴に露出した場合はトークンを即座にローテーションする
  • 必要なプロジェクトに限定した最小権限 API トークンを使用する
  • API 呼び出し前に認証情報が設定されているか検証する — 明確なメッセージとともに早期に失敗させる

トラブルシューティング

エラー原因対処法
401 UnauthorizedAPI トークンが無効または期限切れid.atlassian.com で再生成
403 Forbiddenトークンにプロジェクト権限がないトークンのスコープとプロジェクトアクセスを確認
404 Not Foundチケットキーまたはベース URL が間違っているJIRA_URL とチケットキーを確認
spawn uvx ENOENTIDE が PATH で uvx を見つけられないフルパス(例: ~/.local/bin/uvx)を使用するか、~/.zprofile に PATH を設定
接続タイムアウトネットワーク/VPN の問題VPN 接続とファイアウォールルールを確認

ベストプラクティス

  • 最後にまとめてではなく、作業しながら Jira を更新する
  • コメントは簡潔かつ情報量のあるものにする
  • コピーではなくリンクする — PR、テストレポート、ダッシュボードへのリンクを貼る
  • 他の人の意見が必要な場合は @メンションを使う
  • 作業を開始する前に、機能の全体的なスコープを理解するためにリンクされたイシューを確認する
  • 受け入れ基準が曖昧な場合は、コードを書く前に明確化を求める
Source repo
affaan-m/ECC
Skill path
docs/ja-JP/skills/jira-integration/SKILL.md
Commit SHA
4e973d3eaf92
Repository license
MIT
Data collected