jira-integration
Skill này làm gì
Công cụ này giúp bạn làm việc với Jira, một hệ thống quản lý dự án. Bạn có thể lấy thông tin ticket, cập nhật trạng thái, thêm bình luận và nhiều việc khác, tất cả ngay trong cuộc trò chuyện với AI.
Khi nào nên dùng
- ✓Khi bạn cần xem chi tiết một ticket Jira.
- ✓Để cập nhật tiến độ hoặc thay đổi trạng thái một ticket.
- ✓Để thêm bình luận vào một ticket cụ thể.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/jira-integration/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Lấy ticket PROJ-1234 và cho tôi biết trạng thái và người được giao.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI kết nối với Jira bằng thông tin đăng nhập của bạn. Nó có thể dùng một cách được khuyến nghị gọi là MCP hoặc kết nối trực tiếp qua REST API. Bạn chỉ cần thiết lập một lần.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 \
…
Câu hỏi thường gặp
MCP là gì?
MCP là hệ thống giúp AI giao tiếp dễ dàng hơn với các công cụ khác, như Jira. Đây là cách được khuyến nghị để dùng công cụ này.
REST API là gì?
REST API là cách giao tiếp trực tiếp hơn với Jira, giống như gửi các lệnh cụ thể cho Jira. Cách này dùng được khi MCP không khả dụng.
Làm sao thiết lập thông tin đăng nhập Jira?
Bạn cần cung cấp địa chỉ Jira, email và API token. Điều quan trọng là giữ thông tin này an toàn và không chia sẻ cho người khác.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #347
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
archify
260kCài đặt Archify, công cụ biến một đặc tả JSON nhỏ thành sơ đồ HTML tương tác đã được kiểm tra, có thể xuất thành ảnh hoặc video.
concept-diagrams
260kTạo sơ đồ giáo dục phẳng, gọn trong một tệp HTML với đồ họa SVG, bao phủ vật lý, sinh học, giải phẫu, mặt bằng và quy trình.