Skip to content

Part 02 / Shipping Workflows

Jira Ticket to Cursor to PR

Turning a Jira ticket into a structured Cursor task with Figma design context

On this page

At iO, we use an internal AI tool to generate first-draft Jira tickets from a feature description. Scope, acceptance criteria, edge cases, analytics requirements. Sounds like a small thing — but a well-structured ticket is excellent context for Cursor, and that changes the entire development workflow.

The ticket generation step

A good AI-generated ticket has:

  • Scope: what's in, what's explicitly out
  • Acceptance criteria: specific, testable conditions
  • Edge cases: the scenarios that are easy to miss
  • Analytics: what events to track, what properties to include

These are generated from a brief description, not written from scratch. The model fills in the structure and forces you to think about edge cases you might have skipped.

Using the ticket as Cursor context

Once you have a well-structured ticket, paste it into your Cursor session, add the relevant code files, and the model has everything it needs.

Acceptance criteria become test cases. Edge cases become guardrails. Scope definition prevents the model from going off on tangents.

For UI tasks, grab the Figma link for the component you're implementing. In Figma, select the component or frame you want to build, right-click and choose Copy/paste → Copy link to selection (or press ⌘L). Add it to your Cursor prompt as:

Figma design: https://www.figma.com/design/abc123/...?node-id=12-34

Install Figma's Cursor integration from Customize → Marketplace, then authenticate once. You can also configure the remote MCP server manually if your team manages MCP connections outside the marketplace. Follow the current Figma MCP setup guide because the exact installation surface can change between Cursor releases.

Setting up the Figma MCP

Figma MCP gives Cursor direct access to design tokens, component variants, and layout data. The remote server is the recommended setup; the desktop server remains available for organization-specific local workflows. See Figma MCP Workflows for setup.

The flow: ticket context + Figma design link + Figma MCP → plan → implementation → PR. The PR description writes itself from the ticket's acceptance criteria.

Model strategy

Ticket generation benefits from a capable model — you want it to think carefully about edge cases. Implementation can use a faster model once the context is set. Final review? A reasoning model.

Model Mixer

Assign models to steps and compare workflow cost assumptions

1. Scaffold

my pickbalanced

Component structure, boilerplate, file setup

1K in / 2K out$0.0260

2. Business logic

my pickbalanced

Core feature logic, edge cases, state

2K in / 3K out$0.0400

3. Code review

my pickreasoning

Architecture, patterns, security concerns

3K in / 1K out$0.0320

4. Tests

my pickbalanced

Unit tests, edge case coverage

1.5K in / 2.5K out$0.0330

Estimated cost per completed workflow

Mixed pipeline
$0.1310/run
All Sonnet 5.5
$0.1000/run
All Fable 5.1
$0.5000/run
31% more expensive than all-Sonnet74% cheaper than all-Fable

Each attempt repeats the full token budget. Model choice does not guarantee first-attempt success. Adjust both assumptions to reflect your experience.

Provider API estimates. Full registry checked 2026-10-05; Mistral checked separately 2026-10-07. Mistral’s 50% launch offer is interpreted as October 6–19 inclusive. Excludes subscription allowances, caching, and tool fees.

Workflow Recipe

Copy-pasteable flows and guided workflow finder

Pick a workflow

Prompt

I need to build [feature]. Here’s the spec: inputs, outputs, edge cases, constraints. Produce a plan before writing any code.

Steps

1

Spec

Write a developer spec with inputs, outputs, edge cases, and constraints.

2

Plan

Ask the model to produce a plan — files to create/modify, key decisions. Review before coding.

3

Code

Implement against the plan. One feature, one PR. Pull the model back if it goes out of scope.

4

Review

Ask the model to review its own code: "What edge cases might this miss? What would break this?"

5

Tests

Generate tests from the review’s edge cases: "Write tests for the edge cases you identified."

6

PR description

Generate the PR description from the spec and the diff. Full context produces clear descriptions.

Tools

CursorClaude CodeGitHub Actions

Guardrails

  • One feature, one PR — keep scope tight
  • Review the plan before writing code
  • Don’t let the model touch files outside scope
  • Ask before refactoring adjacent code

Expected output

Working PR with passing CI, clear description, and tests covering the identified edge cases.

Paste into CLAUDE.md, .cursor/rules/, or your workflow docs