Skip to main content
command CX Codex

ticket — Claude Code command: JIRA and Linear integration

A command that handles the full ticket workflow: fetch task details from JIRA or Linear, explore related code, implement changes, and create a linked PR. Reduces manual sync between issue tracker and repository.

no license ★ 6,091 updated 2026-01-06

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/ticket.md
Open on GitHub

What ticket does

Running the command fetches ticket metadata via JIRA or Linear MCP tools—title, description, acceptance criteria, and comments. It searches the codebase for related files, creates a branch following naming conventions, and guides you through implementation with test-first practices.

As work progresses, the command updates the ticket status, posts progress comments, and flags blockers. Once changes are ready, it creates a pull request with gh pr create, links it to the ticket, and includes the ticket ID in the commit message.

The command requires active MCP connections to JIRA, Linear, or GitHub; access to git and gh CLI tools; and project configuration files in the expected locations. If an unrelated bug surfaces during work, it can create a separate ticket and cross-link it.

What it helps with

  • move from ticket to pull request without manual status switching
  • gather full requirements and context from comments and descriptions
  • identify all files that need changes for a given task
  • keep ticket status in sync with development progress

Example prompts for the agent

  • /ticket PROJ-123
  • /ticket INFRA-456
  • /ticket Linear-team/task-789

How to install ticket

Manually: put the files in place

.claude/commands/ticket.md

Call it with /ticket. For all projects use ~/.claude/commands/

Questions about ticket

How do I install ticket in Claude Code?

Place the command file at .claude/commands/ticket.md in your project root. Create the directory if it doesn't exist, then reload Claude Code. The command will be available as /ticket.

What does ticket do?

It reads a ticket from JIRA or Linear, searches for relevant code, creates a feature branch, helps you implement changes, and automatically creates a PR linked to the ticket. Status and comments are updated throughout.

Which MCP servers does ticket need?

Connect MCP servers for JIRA (mcp__jira__*), Linear (mcp__linear__*), or GitHub (mcp__github__*) depending on your system. You also need git and the GitHub CLI (gh) available in your shell.

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set11

The whole set →
pr-review pr-review inspects pull requests through the GitHub CLI against project standards and posts tiered review notes. CX Codex +1 ★ 6,091repo stars code-quality code-quality reviews TypeScript files in a chosen directory, runs npm checks, and groups findings by severity. Use it before a code change or review. CX Codex +1 ★ 6,091repo stars docs-sync docs-sync is a Claude Code command that compares documentation with recent code changes and flags inconsistencies. It catches outdated examples, incorrect API signatures, and mismatched parameter types. CX Codex +1 ★ 6,091repo stars github-workflow github-workflow manages Git branches, Conventional Commits, and pull requests according to team conventions. Helpful for keeping repository history structured and tidy. CX Codex ★ 6,091repo stars code-reviewer code-reviewer — a subagent for Claude Code that checks newly written or modified code against project standards, TypeScript strict mode, and security patterns. CX Codex ★ 6,091repo stars systematic-debugging systematic-debugging enforces a four-phase troubleshooting protocol rooted in root cause analysis. Ideal for tracking down broken test suites or runtime errors without trial-and-error edits. CX Codex +1 ★ 6,091repo stars graphql-schema The graphql-schema skill sets conventions for GraphQL queries, mutations, and type generation. It fits projects that use Apollo Client. CX Codex +1 ★ 6,091repo stars formik-patterns formik-patterns adds Formik form recipes to Claude: Yup schemas, field handlers, a submit flow and multi-step forms. CX Codex +1 ★ 6,091repo stars

Project sponsors

Companies that keep this analytics open