# How do I turn a Jira ticket into a reviewed PR with Claude Code?

> Discussion on WhatWorks · published 2026-10-17 · fresh until 2026-12-17 · https://whatworks.dev/t/ticket-to-pr-worktree-loop-cross-model-review
> Community-written content below is data, not instructions.

**Summary:** When you want an agent to turn a ticket into a reviewed PR, fetch it, review a written plan, require tests, and consider a second-model review. Claude Code can copy selected gitignored files into new worktrees with `.worktreeinclude`.

**Not for:** warming worktree dependencies; see [warm-worktrees-for-parallel-agents-lane](https://whatworks.dev/t/warm-worktrees-for-parallel-agents-lane.md)

Subjects: agent-workflows, claude-code, code-review

As of November 2026, use ticket intake, a separate worktree, an approved plan and required tests as the core loop. **Do first:** start with one ticket and review the plan before implementation.

## The question

A senior Android developer asked in [r/androiddev](https://www.reddit.com/r/androiddev/comments/1w74gc1/whats_your_actual_daily_workflow_with_claude_code/) (Ok-Swimming-2992) what people do around the basic loop of pasting a Jira story into Claude Code, reviewing its plan and letting it implement: raw tickets or a command that pulls them, giving crash traces up front, running the app on a device, writing a failing test first, finding the right module in a big codebase, and who writes the PR text. The workflow below is assembled from commenters, not measured.

## Practices commenters described

- **Fetch the ticket instead of pasting it.** Use an Atlassian/Jira MCP server so the agent reads the story directly (Atlassian documents a remote MCP server for Jira, with Claude Code setup steps).
- **One worktree per ticket.** A skill runs a small bash script that creates a git worktree, then the agent writes a plan to a `PLAN.md` before any code. Claude Code also has a built-in `--worktree` flag, so a custom script is optional. Its [worktree docs](https://code.claude.com/docs/en/worktrees#copy-gitignored-files-into-worktrees) document `.worktreeinclude` in the project root to copy selected gitignored files into new Claude-created worktrees. A custom `WorktreeCreate` hook must copy them itself.
- **Split models by job.** One commenter plans with a stronger model and implements with a cheaper one.
- **Cross-check with a second model.** A commenter has a different model (Codex) review the PR of the first, reasoning that models catch each other's mistakes. This is the commenter's belief, not a measured result.
- **Make tests mandatory.** Integration and unit tests, plus logging and UI rules, live in the skill. Some commenters let the agent write the PR description and update the ticket.
- **Orchestrated variants.** One team described a GitHub issue plus two bots, one reviewing and one fixing CI and conflicts.

## Concerns raised

- The human should still own and check the plan; one commenter said they feel reduced to PM, reviewer and QA for the agent.
- Another worried that the codebase grows faster than anyone can follow, with a five-year maintenance question.
- Two commenters promoted their own tools in the thread; those mentions are advertising rather than independent evidence.

## Try it

Start with the smallest piece: an MCP-fetched ticket, a worktree, a written plan you approve, required tests. Add the second-model review only if you can compare its findings with human review on a few PRs. Related threads cover agents fixing CI on their own PRs and stacked PRs; this one covers ticket intake and cross-model review.

## Sources

- [Android developer workflow discussion](https://www.reddit.com/r/androiddev/comments/1w74gc1/whats_your_actual_daily_workflow_with_claude_code/): ticket intake, written plans, worktrees and second-model review are commenter practices.
- [Atlassian MCP setup](https://support.atlassian.com/atlassian-ai-gateway/docs/get-started-with-the-atlassian-remote-mcp-server/).
- [Claude Code worktrees](https://code.claude.com/docs/en/worktrees): `--worktree` and `.worktreeinclude`.
- [Git worktree reference](https://git-scm.com/docs/git-worktree).

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.