Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TicketToCodeNew to Visual Studio Code? Get it now.
TicketToCode

TicketToCode

Mostafa Keshk

|
16 installs
| (0) | Free
Jira-to-Claude Code automation. One click from ticket to code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TicketToCode 🚀

Turn Jira tickets into working code using Claude Code — with automated E2E testing via Playwright MCP.


How It Works

  1. Connect your Jira account
  2. Select a task from the sidebar
  3. Click ▶ Full Context — Claude reads your ticket, interviews you, then creates a plan and test cases
  4. Review and approve the plan
  5. Claude implements the feature
  6. Run E2E tests with one click — Playwright MCP agent tests your app visually in a real browser
  7. Fix failures with 🔧 Fix Failed Tests

Setup

1. Jira Connection

Open the sidebar, enter your Jira domain, email, and API token.

2. CLAUDE.md

Create a CLAUDE.md file in your project root. Claude reads this every session:

## Project Overview

- Framework: Angular with Nx monorepo
- Design system: [your component library]
- Styling: Tailwind with tw- prefix

## Design System Rules

- Always use design system components, never native HTML
- Use tw- classes for all styling

## File Structure

- Components: [your path]
- Services: [your path]

## API

- Base URL: [your API base URL]

3. Playwright MCP

Add to your Claude Code MCP config (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

Then install Playwright in your project:

npm install --save-dev @playwright/test --legacy-peer-deps
npx playwright install chromium

4. .gitignore

Add these to your .gitignore:

claude/figma/
e2e/auth.json

Full Session Flow

Select task
    ↓
▶ Full Context
    ↓
Claude reads Jira + Notion + Figma + Postman
    ↓
Interview — Claude asks questions one at a time
You answer → Claude re-evaluates → asks next only if needed
    ↓
Claude creates:
  ./claude/plans/TICKET-feature.md
  ./claude/tests/TICKET-feature.md
    ↓
📋 Plan Ready appears in sidebar → Review & Approve ↗
    ↓
Claude implements the feature
    ↓
Set E2E credentials in sidebar (stored securely, never committed)
    ↓
▶ Run E2E Tests
    ↓
Playwright MCP logs in → runs each test visually in Chrome
Checklist updates live: ⏳ → 🔄 → ✅ / ❌
    ↓
If failures → 🔧 Fix Failed Tests → Claude fixes + re-runs
    ↓
All green ✅

Prompts

▶ Full Context

Used at the start of a task. Claude will:

  1. Read the full Jira hierarchy (Epic → Story → Subtask)
  2. Re-read CLAUDE.md and follow all rules strictly
  3. Read any Notion links via MCP
  4. Read relevant Postman endpoints via MCP
  5. Read Figma via MCP (screenshots only, never nodes) — or use uploaded screenshots if provided
  6. Interview you one question at a time until all blockers are resolved
  7. Create ./claude/plans/TICKET-*.md and ./claude/tests/TICKET-*.md simultaneously
  8. Wait for plan approval before writing any code

⚡ Quick Fix

Used for follow-ups and bug fixes in the same session. Sends only the subtask description — Claude already has full context. Add optional extra detail if needed.


E2E Testing

E2E tests run via the Playwright MCP browser agent — no spec files written, no selectors needed. Claude looks at the app visually and interacts like a human.

Test Case States

Icon State Meaning
⏳ Pending Not run yet
🔄 In Progress Agent is running this test now
✅ Passed Agent confirmed it works
❌ Failed Agent found a bug — error shown below

E2E Buttons

Button When shown What it does
▶ Run E2E Tests First run Logs in, runs all test cases
↺ Re-run All After any run Resets all to pending, runs again
🔧 Fix Failed Tests When failures exist Claude fixes code then re-runs failed tests only
⚙ Regenerate After any run Rewrites test cases from Jira + plan
✦ Create Test Cases No tests file found Creates ./claude/tests/TICKET-*.md from scratch

Speed Control

Set in the E2E auth form: Off / Slow / Normal / Fast Saved securely alongside your credentials.

Credentials

Set once in the sidebar — stored in VS Code secrets, never written to any file or committed to git.


Figma Screenshots

If Figma MCP is hitting quota limits, toggle 🖼 Use screenshots instead of Figma in the action bar. Drag & drop your screenshots — Claude will use them as the design reference instead.

Screenshots are saved to ./claude/figma/TICKET-KEY/ and auto-restored next time you open the same task.


File Structure Created

project/
  CLAUDE.md                              ← your rules (you create this)
  claude/
    plans/
      TICKET-feature-name.md             ← implementation plan (Claude creates)
    tests/
      TICKET-feature-name.md             ← test cases (Claude creates)
      TICKET-feature-name-results.json   ← live test results (Claude writes)
    figma/
      TICKET-KEY/                        ← uploaded screenshots (if used)
  e2e/
    setup.ts                             ← Playwright global login setup
    auth.json                            ← saved session (gitignored)
  playwright.config.ts                   ← Playwright config

Coding Rules (injected into every prompt)

  • Always use the project's design system — never native HTML components
  • If a component doesn't exist in the design system, ask before creating it
  • Use tw- (Tailwind) classes for all styling
  • Only write native SCSS if absolutely no other option exists — explain why first

Published by

MostafaKeshk

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft