jira-integration
Skill28 starsChanged 4 months agoMITView on GitHub
Skill tích hợp Jira/Xray — lấy requirements từ Jira, xác thực Xray, và đẩy kết quả test lên Xray Cloud/Server.
- Reads credentials
- Installs packages
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- Lukk17/agent-standardstheir own version, first seen Nov 7, 2026
- renepf/claude-skillstheir own version, first seen Oct 25, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- Ronnasayd/aipptheir own version, first seen Oct 20, 2026
- gongyijie85/dsh-ecctheir own version, first seen Oct 13, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Fmarzochi/EGC★ 61same name
- gongyijie85/dsh-ecc★ 8same name
- Lukk17/agent-standards★ 1same name
- Rojios/everything-claude-code★ 1same name
- Ronnasayd/aipp★ 1same name
- SamuelNDCE/claude-super-skill-library★ 1same name
- davidanthonyn/claude-skills★ 0same name
- lodetomasi/claude-code-skills-tools★ 0same name
- renepf/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-flaky-testsSkill
- analyze-requirement-documentSkill
- fetch-jira-requirementsSkill
- flaky-test-analyzerSkill
- framework-architectSkill
- generate-api-tests-from-swaggerSkill
- generate-application-test-planSkill
- generate-automation-frameworkSkill
- generate-automation-from-testcasesSkill
- generate-automation-from-ui-flowSkill
- generate-combinatorial-test-dataSkill
- generate-cross-module-test-planSkill
- generate-locatorSkill
- generate-manual-testcases-rbtSkill
- generate-requirements-from-websiteSkill
- generate-testcases-from-requirementsSkill
- generate-test-dataSkill
- import-test-results-xraySkill
- locator-healer-agentSkill
- qa-automation-engineerSkill
- rbt-manual-testingSkill
- requirements-analyzerSkill
- smart-locator-agentSkill
- test-data-generatorSkill
- ui-debug-agentSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Import test results lên Jira
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Jira & Xray Integration Skill
Mô tả
Skill này cung cấp khả năng tích hợp giữa Codex workspace với hệ thống Jira và Xray để:
- Lấy Requirements/User Stories từ Jira → chuyển thành tài liệu yêu cầu chuẩn
- Xác thực Xray (Cloud hoặc Server/Data Center)
- Đẩy kết quả test (Playwright, JUnit, Allure) lên Xray Test Management
Khi nào sử dụng
Agent sử dụng skill này khi user yêu cầu:
- Lấy requirement / user story từ Jira
- Kết nối / test connection đến Jira API
- Đẩy kết quả test lên Xray
- Import test results lên Jira
- Xác thực Xray token
- Tích hợp CI/CD với Jira
Trigger keywords:
- "fetch jira", "lấy requirement từ jira", "get jira ticket"
- "import xray", "đẩy kết quả lên xray", "push test results"
- "test jira connection", "kiểm tra kết nối jira"
Cấu trúc Scripts
scripts/integrations/
├── jira/
│ ├── jira_fetcher.js # Lấy Requirement/User Story từ Jira
│ ├── xray_auth.js # Xác thực và lấy Token Xray
│ ├── xray_importer.js # Import kết quả test lên Xray
│ └── utils.js # Hàm utility dùng chung
└── package.json # Dependencies (axios, dotenv)Điều kiện tiên quyết (Prerequisites)
1. Cài đặt dependencies
cd scripts/integrations
npm install2. Cấu hình .env
Copy .env.example thành .env ở thư mục gốc project:
cp .env.example .envĐiền các thông tin bắt buộc:
| Biến | Mô tả | Bắt buộc |
JIRA_BASE_URL | URL Jira instance (VD: https://domain.atlassian.net) | ✅ |
JIRA_EMAIL | Email tài khoản Jira (Cloud) | ✅ (Cloud) |
JIRA_API_TOKEN | API Token (Cloud) | ✅ (Cloud) |
JIRA_PAT | Personal Access Token (Server/DC) | ✅ (Server) |
JIRA_PROJECT_KEY | Project key mặc định | Khuyến nghị |
XRAY_PLATFORM | cloud hoặc server | Mặc định: cloud |
XRAY_CLIENT_ID | Xray API Client ID | Khi dùng Xray Cloud |
XRAY_CLIENT_SECRET | Xray API Client Secret | Khi dùng Xray Cloud |
3. Cách lấy Jira API Token (Cloud)
- Đăng nhập vào https://id.atlassian.com/manage-profile/security/api-tokens
- Nhấn Create API token
- Đặt label (ví dụ: "Codex Automation")
- Copy token → dán vào
JIRA_API_TOKENtrong file.env
4. Cách lấy Xray Cloud API Key
- Truy cập https://app.getxray.app → Settings → API Keys
- Hoặc trong Jira: Apps → Xray → Settings → API Keys
- Tạo API Key mới → Copy Client ID và Client Secret
Hướng dẫn sử dụng
Lấy 1 issue cụ thể
node scripts/integrations/jira/jira_fetcher.js --issue PROJ-123Lấy issues theo project
node scripts/integrations/jira/jira_fetcher.js --project PROJ --type Story --max 20Tìm theo JQL
node scripts/integrations/jira/jira_fetcher.js --jql "project = PROJ AND status = 'To Do'"Xuất thành Markdown requirement
node scripts/integrations/jira/jira_fetcher.js --issue PROJ-123 --format mdLấy children của Epic
node scripts/integrations/jira/jira_fetcher.js --epic PROJ-10 --format mdTest Xray authentication
node scripts/integrations/jira/xray_auth.js
node scripts/integrations/jira/xray_auth.js --verifyImport kết quả Playwright lên Xray
node scripts/integrations/jira/xray_importer.js --format playwright --file ./test-results.json --project PROJImport JUnit XML lên Xray
node scripts/integrations/jira/xray_importer.js --format junit --file ./junit-results.xml --project PROJWorkflow liên quan
| Workflow | Mô tả |
$fetch-jira-requirements | Lấy requirements từ Jira ticket và lưu thành file |
$import-test-results-xray | Đẩy kết quả test lên Xray |
Lưu ý quan trọng
- Bảo mật: KHÔNG bao giờ commit file
.envlên Git. File.gitignoređã được cấu hình bỏ qua.env. - Rate Limiting: Jira Cloud có giới hạn API calls. Script đã hỗ trợ phân trang (pagination) để tránh vượt limit.
- Atlassian Document Format (ADF): Jira Cloud sử dụng ADF cho description. Script tự động chuyển đổi ADF → plain text.
- Test Key Convention: Khi import Playwright results, nên đặt test key trong title:
test('[PROJ-123] Login should work', ...)để Xray mapping đúng test case.
Troubleshooting
| Lỗi | Nguyên nhân | Giải pháp |
| HTTP 401 | Token/password sai | Kiểm tra JIRA_API_TOKEN hoặc JIRA_PAT |
| HTTP 403 | Không có quyền | Kiểm tra permission trên Jira project |
| HTTP 404 | URL sai hoặc issue không tồn tại | Kiểm tra JIRA_BASE_URL và issue key |
ENOTFOUND | DNS không resolve | Kiểm tra JIRA_BASE_URL có đúng domain không |
ECONNREFUSED | Server không chạy | Kiểm tra Jira Server có online không |
| File .env not found | Chưa tạo .env | Copy .env.example → .env |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

