Jira

From VixenLights/Vixen · View interactive version

Jira is an AI agent skill from the GitHub repository VixenLights/Vixen. Manages JIRA issues, projects, and workflows using Atlassian MCP. Use when asked to "create JIRA ticket", "search JIRA", "update JIRA issue", "transition issue", "sprint planning", or "epic management".

How to use this skill

Skill file

JIRA Management Skill

A comprehensive Claude Code skill for managing JIRA issues, projects, and workflows using the Atlassian MCP server.

Table of Contents

Overview

This skill provides intelligent JIRA management capabilities including:

Prerequisites

Required MCP Server

Environment Configuration

The Atlassian MCP may use environment variables:

User-Facing Issue Descriptions

When creating or updating a JIRA issue description, write for the people who use and review Vixen rather than for the implementer. Use this format unless the user explicitly requests a technical issue description:

## Summary

Describe the user problem and the outcome in one or two short paragraphs.

## Scope

- State the user-visible behaviors included in the change.
- State important user-facing behaviors that must remain unchanged.

## Acceptance Criteria

- Given ..., when ..., then ...

Keep the JIRA description concise and use plain language. Do not include class names, event routes, formulas, internal APIs, file paths, implementation alternatives, or test seam details. For work governed by a local specification or ExecPlan, translate its purpose and acceptance criteria into user outcomes; keep the technical design, code locations, and detailed test plan in the repository-local documents. A closing JIRA comment should similarly report user-visible completion and short validation results, not internal implementation details.

Skill Workflow

1. Issue Creation Workflow

When creating JIRA issues, follow this sequence:

Step 1: Gather Requirements

Ask the user for:

Do NOT ask for issue type yet — fetch valid types from the project first (Step 2b).

If the request originates from an ExecPlan document (e.g., docs/plans/*.md), read the plan

before creating the issue and extract:

these as a dedicated "Acceptance Criteria" section in the issue description

Always include acceptance criteria in the issue description when they are available, whether

from a plan document or provided directly by the user. A JIRA issue without acceptance criteria

cannot be reliably reviewed or closed.

Step 2: Validate Project

Use mcp__atlassian__jira_get_all_projects to:

Step 2b: Fetch Valid Issue Types

Call the JIRA project API (GET /rest/api/3/project/{projectKey}) or use mcp__atlassian__jira_get_project_issue_types if available, to retrieve the actual issue types for the project. Present these to the user and ask them to choose. NEVER assume "Task" or any other type exists — issue types vary per project.

Step 3: Search Available Fields (if needed)

Use mcp__atlassian__jira_search_fields to find custom field names and IDs. See Custom Field Discovery for detailed methodology.

Step 4: Create Issue

Use mcp__atlassian__jira_create_issue with:

{
  "project_key": "PROJ",
  "summary": "Implement user authentication",
  "issue_type": "Task",
  "description": "Detailed description in Markdown format",
  "assignee": "user@example.com",
  "components": "Frontend,API",
  "additional_fields": {
    "priority": {"name": "High"},
    "labels": ["security", "authentication"],
    "parent": "PROJ-123"
  }
}
Step 5: Follow-up Actions (if needed)

2. Issue Search and Management

Searching Issues

Use mcp__atlassian__jira_search with JQL. For comprehensive JQL documentation, see JQL Guide.

Essential JQL Patterns:

# Open issues in project
project = PROJ AND status = Open

# Your assigned issues
assignee = currentUser() AND status != Done

# Issues in current sprint
sprint IN openSprints()

# Recently updated
updated >= -7d AND project = PROJ

Parameters:

Getting Issue Details

Use mcp__atlassian__jira_get_issue:

Updating Issues

Use mcp__atlassian__jira_update_issue:

{
  "issue_key": "PROJ-123",
  "fields": {
    "summary": "Updated summary",
    "assignee": "user@example.com",
    "priority": {"name": "Critical"}
  },
  "additional_fields": {
    "labels": ["urgent", "hotfix"]
  },
  "attachments": "/path/to/file1.txt,/path/to/file2.pdf"
}

3. Workflow and Transitions

Get Available Transitions

Use mcp__atlassian__jira_get_transitions:

Transition Issue

Use mcp__atlassian__jira_transition_issue:

{
  "issue_key": "PROJ-123",
  "transition_id": "31",
  "fields": {
    "resolution": {"name": "Fixed"}
  },
  "comment": "Moving to Done after completing implementation"
}

4. Agile/Scrum Operations

Working with Boards
  1. Get boards: mcp__atlassian__jira_get_agile_boards
  1. Get board issues: mcp__atlassian__jira_get_board_issues
Working with Sprints
  1. Get sprints: mcp__atlassian__jira_get_sprints_from_board
  1. Get sprint issues: mcp__atlassian__jira_get_sprint_issues
  1. Create sprint: mcp__atlassian__jira_create_sprint
{
  "board_id": "1000",
  "sprint_name": "Sprint 15",
  "start_date": "2025-01-21T09:00:00.000+0000",
  "end_date": "2025-02-04T17:00:00.000+0000",
  "goal": "Complete authentication feature"
}
  1. Update sprint: mcp__atlassian__jira_update_sprint
Working with Epics
  1. Find epics: Use JQL: issuetype = Epic AND project = PROJ
  2. Link to epic: mcp__atlassian__jira_link_to_epic
  3. Find issues in epic: Use JQL: parent = EPIC-KEY

5. Linking and Relationships

Issue Links

Use mcp__atlassian__jira_create_issue_link:

{
  "link_type": "Blocks",
  "inward_issue_key": "PROJ-123",
  "outward_issue_key": "PROJ-456",
  "comment": "This issue blocks the other"
}

Get link types: mcp__atlassian__jira_get_link_types

Remote Links (Web/Confluence)

Use mcp__atlassian__jira_create_remote_issue_link:

{
  "issue_key": "PROJ-123",
  "url": "https://confluence.example.com/pages/123456",
  "title": "Technical Design Doc",
  "summary": "Detailed architecture documentation",
  "relationship": "documentation"
}

6. Comments and Collaboration

Add Comment

Use mcp__atlassian__jira_add_comment:

Get Comments

Use mcp__atlassian__jira_get_issue with appropriate fields

7. Batch Operations

Batch Create Issues

Use mcp__atlassian__jira_batch_create_issues:

{
  "issues": "[{\"project_key\":\"PROJ\",\"summary\":\"Task 1\",\"issue_type\":\"Task\"},{\"project_key\":\"PROJ\",\"summary\":\"Task 2\",\"issue_type\":\"Bug\"}]",
  "validate_only": false
}
Batch Get Changelogs

Use mcp__atlassian__jira_batch_get_changelogs:

8. Project and Version Management

List Projects

Use mcp__atlassian__jira_get_all_projects:

Get Project Issues

Use mcp__atlassian__jira_get_project_issues:

Version Management
  1. Get versions: mcp__atlassian__jira_get_project_versions
  2. Create version: mcp__atlassian__jira_create_version
  3. Batch create: mcp__atlassian__jira_batch_create_versions

Best Practices

1. Always Validate Input

2. Use Appropriate Field Selection

3. JQL Query Construction

See JQL Guide for comprehensive documentation.

4. Error Handling

5. Efficiency

Common Use Cases

Create Story with Subtasks

1. Create Epic (if needed)
2. Create Story and link to Epic
3. Create multiple Subtasks with parent = Story key
4. Optionally add to sprint

Bug Triage Workflow

1. Search for bugs: issuetype = Bug AND status = Open
2. For each bug: Update priority, assign, add to sprint, transition

Sprint Planning

1. Get active sprint
2. Search backlog issues
3. Move selected issues to sprint
4. Update estimates and assign

Release Management

1. Create version for release
2. Search issues: fixVersion = "1.0.0"
3. Verify all are Done
4. Create release notes

References

See references/ directory for detailed documentation:

See templates/ directory for:

Troubleshooting

Common Issues

Issue: "Project not found"

Issue: "Field required but not provided"

Issue: "Invalid transition"

Issue: "Custom field not found"

Skill Invocation

This skill is automatically invoked when users:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.