Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Jira Integration

BSecurity

Use when reading, searching, commenting on, or transitioning Jira issues via MCP or the REST API v3. Covers mcp-atlassian config, tool names, curl examples, the ADF comment schema, JQL patterns, and error troubleshooting.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentspythonbashapibackendsecurity

Works with

cursorcliapimcp

Security Analysis

B88/100
criticalExfiltrates credentials via HTTP — exact pattern from Snyk ToxicSkills study

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Mixard/fable-pack --skill jira-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jira Integration?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Jira Integration
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/mixard-jira-integration/badge)](https://www.skillsdirectory.com/skills/mixard-jira-integration)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: jira-integration
description: Use when reading, searching, commenting on, or transitioning Jira issues via MCP or the REST API v3. Covers mcp-atlassian config, tool names, curl examples, the ADF comment schema, JQL patterns, and error troubleshooting.
---

# Jira Integration

Two access paths: the `mcp-atlassian` MCP server (exposes Jira as tools) or direct REST API v3 calls with basic auth (`email:api_token`).

## MCP Server Setup

Requires Python 3.10+ and `uvx` (from `uv`). Add to `mcpServers` in `~/.claude.json`:

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

API tokens are created at https://id.atlassian.com/manage-profile/security/api-tokens. Prefer system environment variables over the `env` block for anything committed. The 0.21.0 pin is deliberate — later releases renamed tools (0.23.0 is current as of 2026-07); verify tool names against the changelog before bumping.

### Tools exposed by mcp-atlassian

| Tool | Purpose |
|------|---------|
| `jira_search` | JQL queries |
| `jira_get_issue` | Fetch full issue by key |
| `jira_create_issue` | Create Task, Bug, Story, Epic |
| `jira_update_issue` | Update summary, description, assignee, fields |
| `jira_transition_issue` | Change status |
| `jira_get_transitions` | List available transitions for an issue |
| `jira_add_comment` | Add a comment |
| `jira_get_sprint_issues` | List issues in a sprint |
| `jira_create_issue_link` | Link issues (Blocks, Relates to) |
| `jira_get_issue_development_info` | Linked PRs, branches, commits |

Transition IDs vary per project workflow, so call `jira_get_transitions` before `jira_transition_issue`.

## REST API v3

Environment: `JIRA_URL` (e.g. `https://yourorg.atlassian.net`), `JIRA_EMAIL`, `JIRA_API_TOKEN`.

### Fetch an issue

```bash
curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  -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
  }'
```

`description` and comment bodies come back as Atlassian Document Format (ADF) JSON, not plain text.

### Fetch comments

```bash
curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  "$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 (ADF body)

API v3 requires the comment body in ADF. Minimal single-paragraph schema:

```bash
curl -s -X POST -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  -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"
```

A plain string body returns 400; that only works on API v2 (`/rest/api/2/...`).

### Transition an issue (two-step flow)

Transitions are executed by ID, and IDs differ per project workflow, so always list first:

```bash
# 1. List available transitions for this issue
curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  "$JIRA_URL/rest/api/3/issue/PROJ-1234/transitions" \
  | jq '.transitions[] | {id, name}'

# 2. Execute by ID
curl -s -X POST -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"transition": {"id": "TRANSITION_ID"}}' \
  "$JIRA_URL/rest/api/3/issue/PROJ-1234/transitions"
```

A successful transition returns 204 with an empty body. Only transitions valid from the issue's current status are listed.

### Search with JQL

```bash
curl -s -G -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
  --data-urlencode "jql=project = PROJ AND status = 'In Progress'" \
  "$JIRA_URL/rest/api/3/search"
```

Note: Atlassian Cloud deprecated `/rest/api/3/search` in 2025 in favor of `/rest/api/3/search/jql`, which uses `nextPageToken` cursor pagination instead of `startAt` and requires an explicit `fields` list (defaults to `id` only). If the old endpoint 404s or 410s on your instance, switch to `/search/jql`.

### JQL patterns

```
project = PROJ AND status = "In Progress"
assignee = currentUser() AND resolution = Unresolved ORDER BY priority DESC
project = PROJ AND sprint in openSprints()
updated >= -7d AND project = PROJ ORDER BY updated DESC
issuetype = Bug AND priority in (Highest, High) AND status != Done
labels in ("backend", "api") AND created >= startOfMonth()
"Epic Link" = PROJ-100
issuekey in (PROJ-1, PROJ-2, PROJ-3)
text ~ "payment timeout"
```

Quote multi-word values; `~` is a fuzzy text match; relative dates accept `-7d`, `-4w`, `startOfDay()`, `startOfMonth()`.

## Troubleshooting

| Error | Cause | Fix |
|---|---|---|
| `401 Unauthorized` | Invalid or expired API token | Regenerate at id.atlassian.com |
| `403 Forbidden` | Token lacks project permissions | Check token scopes and project access |
| `404 Not Found` | Wrong issue key or base URL | Verify `JIRA_URL` and issue key |
| `400` on comment POST | Plain-string body on API v3 | Wrap body in the ADF `doc` schema above |
| `spawn uvx ENOENT` | Client cannot find `uvx` on PATH | Use full path (e.g. `~/.local/bin/uvx`) or fix PATH |
| Connection timeout | Network/VPN issue | Check VPN and firewall rules |

Attribution

MixardMixard
View sourceMore from Mixard →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →