Skills Jira Integration logo

Skills Jira Integration

Community
anhtester
skills-jira-integration

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.

Overview

Publisheranhtester
Repositoryclaude-testing-kit
Skill nameskills-jira-integration
Stars
61
Forks
31
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by anhtester on GitHub. Read the source before you install it.

Installation

Install the Skills Jira Integration AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/anhtester/claude-testing-kit/tree/main/.claude/skills/skills-jira-integration
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anhtester/claude-testing-kit.git /tmp/claude-testing-kit
mkdir -p .claude/skills
cp -r /tmp/claude-testing-kit/.claude/skills/skills-jira-integration .claude/skills/skills-jira-integration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skills Jira Integration in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skills Jira Integration on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skills Jira Integration is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Jira & Xray Integration Skill

Mô tả

Skill này cung cấp khả năng tích hợp giữa Claude Testing Skills với hệ thống Jira và Xray để:

  1. Lấy Requirements/User Stories từ Jira → chuyển thành tài liệu yêu cầu chuẩn
  2. Xác thực Xray (Cloud hoặc Server/Data Center)
  3. Đẩ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

bash
cd scripts/integrations
npm install

2. Cấu hình .env

Copy .env.example thành .env ở thư mục gốc project:

bash
cp .env.example .env

Điền các thông tin bắt buộc:

BiếnMô tảBắt buộc
JIRA_BASE_URLURL Jira instance (VD: https://domain.atlassian.net)✅
JIRA_EMAILEmail tài khoản Jira (Cloud)✅ (Cloud)
JIRA_API_TOKENAPI Token (Cloud)✅ (Cloud)
JIRA_PATPersonal Access Token (Server/DC)✅ (Server)
JIRA_PROJECT_KEYProject key mặc địnhKhuyến nghị
XRAY_PLATFORMcloud hoặc serverMặc định: cloud
XRAY_CLIENT_IDXray API Client IDKhi dùng Xray Cloud
XRAY_CLIENT_SECRETXray API Client SecretKhi dùng Xray Cloud

3. Cách lấy Jira API Token (Cloud)

  1. Đăng nhập vào https://id.atlassian.com/manage-profile/security/api-tokens
  2. Nhấn Create API token
  3. Đặt label (VD: "Claude Automation")
  4. Copy token → dán vào JIRA_API_TOKEN trong file .env

4. Cách lấy Xray Cloud API Key

  1. Truy cập https://app.getxray.app → Settings → API Keys
  2. Hoặc trong Jira: Apps → Xray → Settings → API Keys
  3. 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ể

bash
node scripts/integrations/jira/jira_fetcher.js --issue PROJ-123

Lấy issues theo project

bash
node scripts/integrations/jira/jira_fetcher.js --project PROJ --type Story --max 20

Tìm theo JQL

bash
node scripts/integrations/jira/jira_fetcher.js --jql "project = PROJ AND status = 'To Do'"

Xuất thành Markdown requirement

bash
node scripts/integrations/jira/jira_fetcher.js --issue PROJ-123 --format md

Lấy children của Epic

bash
node scripts/integrations/jira/jira_fetcher.js --epic PROJ-10 --format md

Test Xray authentication

bash
node scripts/integrations/jira/xray_auth.js
node scripts/integrations/jira/xray_auth.js --verify

Import kết quả Playwright lên Xray

bash
node scripts/integrations/jira/xray_importer.js --format playwright --file ./test-results.json --project PROJ

Import JUnit XML lên Xray

bash
node scripts/integrations/jira/xray_importer.js --format junit --file ./junit-results.xml --project PROJ

Workflow liên quan

WorkflowMô tả
/fetch_jira_requirementsLấ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 .env lê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ỗiNguyên nhânGiải pháp
HTTP 401Token/password saiKiểm tra JIRA_API_TOKEN hoặc JIRA_PAT
HTTP 403Không có quyềnKiểm tra permission trên Jira project
HTTP 404URL sai hoặc issue không tồn tạiKiểm tra JIRA_BASE_URL và issue key
ENOTFOUNDDNS không resolveKiểm tra JIRA_BASE_URL có đúng domain không
ECONNREFUSEDServer không chạyKiểm tra Jira Server có online không
File .env not foundChưa tạo .envCopy .env.example → .env

Frequently asked questions

What does the Skills Jira Integration AI skill do?

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.

Why use Skills Jira Integration on TypingMind?

Because you install it once and use it with any model. Skills Jira Integration is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skills Jira Integration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/anhtester/claude-testing-kit/tree/main/.claude/skills/skills-jira-integration. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Skills Jira Integration?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skills Jira Integration?

As many as you like. As long as a model supports skills, you can use Skills Jira Integration with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skills Jira Integration AI skill free?

Yes. It is published on GitHub by anhtester under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇