# Process Ticket

> This skill should be used when the user asks to "process a ticket", "pick up a ticket", "work on a Jira ticket", "grab a ticket", "start on a ticket", "process my Jira backlog", "work on an ai_ready ticket", or mentions picking up work from Jira. It finds ai_ready tickets assigned to the user, creates a branch and worktree, solves the issue, and opens a PR.

- Skill: `andrewjmorrell/process-ticket` (Agent Skill)
- Install (CLI): `npx skillmds@latest add andrewjmorrell/process-ticket`
- Raw SKILL.md: https://api.skillmd.com/api/skills/andrewjmorrell/process-ticket/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: andrewjmorrell (https://skillmd.com/u/andrewjmorrell)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/andrewjmorrell/process-ticket

---


# Process Ticket Workflow

This skill automates the full lifecycle of a Jira ticket: find an `ai_ready` ticket assigned to the user, create a GitHub branch and worktree, implement the solution, commit, push, open a PR, and update the Jira ticket status.

## Required Environment Variables

The following must be set in the user's shell profile:
- `JIRA_CLOUD_ID` — Atlassian Cloud ID (UUID or site URL)
- `GITHUB_REPO_OWNER` — GitHub repository owner (username or organization)
- `GITHUB_REPO_NAME` — GitHub repository name

## When This Skill Applies

This skill activates when the user's request involves:
- Processing or picking up Jira tickets
- Working on `ai_ready` labeled tickets
- Starting development on a Jira issue
- Grabbing work from the backlog

## How to Execute

Invoke the `/process-ticket` command to run the full workflow. The command handles all steps automatically:

1. Loads and validates required environment variables
2. Verifies Jira, GitHub CLI, repo, and git permissions
3. Searches for `ai_ready` tickets assigned to the current user
4. If multiple tickets found, asks the user to choose
5. Updates the label to `ai_development` and transitions to "Development"
6. Creates a GitHub branch and local worktree
7. Analyzes and solves the issue
8. Commits, pushes, and opens a PR assigned to the user
9. Transitions the ticket to "Done"

