360 Secure SkillHub
360 安全技能中心

Jira Ops

核心功能:支持通过MCP(推荐)或REST API操作Jira,可提取工单需求/验收标准、更新状态/添加评论、JQL搜索、创建工单、关联PR等。典型场景:获取工单信息、更新工作进度、流转工单状态、搜索相关问题。需配置Jira URL、邮箱、API Token,适配多系统,通过触发短语执行操作。

djc00p
djc00p
热度 43.11
最近更新 2026-05-11 17:40:23
分类:自动化依赖:MCP 服务 / 第三方 API应用场景:任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add jira-ops
Metadata
name
jira-ops
description
Retrieve, analyze, and update Jira tickets directly. Supports MCP-based (recommended) and direct REST API approaches. Trigger phrases: fetch Jira ticket, update ticket status, add comment, transition issue, search Jira, extract acceptance criteria. Adapted from everything-claude-code by @affaan-m (MIT)
metadata
{"clawdbot":{"emoji":"🎫","requires":{"bins":[],"env":["JIRA_URL","JIRA_EMAIL","JIRA_API_TOKEN"]},"os":["linux","darwin","win32"]}}

Jira Integration

Retrieve, analyze, and update Jira tickets with MCP or direct REST API.

When to Activate

  • Fetching ticket requirements and acceptance criteria
  • Adding progress comments or status updates
  • Transitioning ticket status (To Do → In Progress → Done)
  • Searching for issues via JQL queries
  • Linking PRs or branches to tickets

Setup

Option A: MCP Server (Recommended)

Install mcp-atlassian via uvx:

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

Get your API token: https://id.atlassian.com/manage-profile/security/api-tokens

Option B: Direct REST API

Set these environment variables:

  • JIRA_URL — Jira instance URL
  • JIRA_EMAIL — Your account email
  • JIRA_API_TOKEN — API token (never hardcode)

MCP Tools

With mcp-atlassian configured:

  • jira_search — JQL queries
  • jira_get_issue — Fetch issue details
  • jira_create_issue — Create new issues
  • jira_update_issue — Update fields
  • jira_transition_issue — Change status
  • jira_add_comment — Add comments
  • jira_get_transitions — List available transitions

Analyzing Tickets

Extract from tickets:

  • Functional requirements — What needs to be built
  • Acceptance criteria — Testable conditions
  • Test types — Unit, integration, E2E
  • Edge cases — Error scenarios, boundary conditions
  • Dependencies — Linked issues, APIs, systems

Updating Tickets

Workflow Jira Action
Start work Transition to "In Progress" + comment branch name
Tests done Comment with test coverage summary
PR created Comment with link, transition if needed
Merged Transition to "Done"

Security

  • Never hardcode API tokens
  • Use environment variables or secrets manager
  • Add .env to .gitignore
  • Rotate tokens if exposed
  • Use least-privilege scopes