Skip to content

About

Claude Code plugin: pick up a JetBrains YouTrack issue — fetch, branch, In Progress, plan, write-back — over YouTrack's remote MCP server

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

youtrack-task logo

YouTrack Flow for AI Agents

Work JetBrains YouTrack issues without leaving your repo. Capture, pick up, branch, plan, open the PR, and walk the state ladder — all from inside Claude Code or any MCP-capable AI agent.

📥 capture  →  🌿 branch + plan  →  🚀 PR  →  ✅ done

License Agents YouTrack Transport Versioning

YouTrack Flow for AI Agents - Work JetBrains YouTrack issues without leaving your repo. | Product Hunt


✨ What it does

Works JetBrains YouTrack issues from inside any project repo. It is a Claude Code plugin and a portable SKILL.md agent skill: the same workflow runs in Cursor, GitHub Copilot, Codex CLI and other MCP-capable agents. No PhpStorm YouTrack plugin needed: it talks to YouTrack's own remote MCP server.

Command What it does
📝 /youtrack-task new "<free text>" Turns your text into a titled, structured issue.
🌿 /youtrack-task <ID> Picks up an issue: branch, state → In Progress, plan written back as a comment.
🚀 /youtrack-task pr · testing · done Checks the independent review, opens the PR and links it, then walks the state ladder.
🌲 /youtrack-task worktree … Runs several tasks at once, each in its own git worktree.
🤖 /youtrack-task all Works through many issues in parallel with an independent reviewer per result.

⚡ Quick start

1. Check the requirements

  • An AI agent that can use MCP servers: Claude Code (plugin route) or another agent (skill route, see step 3)
  • YouTrack 2025.3+ (Cloud or Server) with the remote MCP server at https://<your-host>/mcp
  • git on your PATH
  • jq on your PATH — needed for the hook protections; the skill itself works without it
  • (optional) the gh CLI for pr
  • (optional) the superpowers plugin for planning and implementation

Tip

Behind a reverse proxy or SSO (Authelia, Authentik, oauth2-proxy…)? Allow the /mcp path through with bearer-token auth.

2. Create an API token

YouTrack → your avatar → Profile → Account Security → New token. Scope: YouTrack. Copy the perm:... value.

3. Install

Pick the route that matches your agent:

Route How
🟣 Claude Code Plugin: the steps right below. Gives you every feature.
📦 Agensi Get the skill from the Agensi listing, then add the YouTrack MCP server to your agent.
🚀 Product Hunt Find the product on Product Hunt and follow its links: YouTrack Flow for AI Agents on Product Hunt
🧩 Cursor, Copilot, Codex, others Skill folder plus the YouTrack MCP server in the agent's MCP settings: Other agents.

Claude Code plugin. Export two environment variables in your shell startup (~/.zshrc, ~/.bashrc), open a new shell and start Claude Code from there:

export YOUTRACK_MCP_URL="https://youtrack.example.com/mcp"
export YOUTRACK_TOKEN="perm:xxxxxxxxxxxxxxxxxxxx"

Then install the plugin and restart Claude Code. /mcp should now list the youtrack tools.

/plugin marketplace add JtheGunner/youtrack-task
/plugin install youtrack-task@youtrack-task

Note

Outside Claude Code the review gate runs in its weaker, non-independent mode and all --auto-merge stays off. Details in Other agents.

4. Try it

/youtrack-task                 # list your Open / In Progress issues and pick one
/youtrack-task INFRA-42        # go straight to an issue

Note

Nothing instance-specific is stored in this repo. The bundled .mcp.json only references ${YOUTRACK_MCP_URL} and ${YOUTRACK_TOKEN}.


🧭 How a task flows

 /youtrack-task new …     create the issue (optional)
          │
          ▼
 /youtrack-task ADMIN-6   branch · In Progress · plan · (--implement) code + review
          │
          ▼
 /youtrack-task pr        review check · push · PR · link on issue · → Testing
          │
      … PR review + merge …
          ▼
 /youtrack-task done      → Done

A worked walk-through with the state changes and comments of each step: examples/full-lifecycle.md.

On pickup the plugin:

  1. 📥 Fetches the issue and its comments
  2. 🌿 Creates the branch ‹prefix›/‹ID›-‹slug› (in a worktree if configured)
  3. 📌 Moves the issue to In Progress and comments
  4. 📝 Plans the work and, once you approve, posts the plan as a comment
  5. 🛠️ Implements it only when you pass --implement, then runs the review gate. The reviewer is read-only; a project can allow more commands for it in .youtrack-task/reviewer-commands (how)

Important

Nothing is pushed until you run pr, and it asks first. Branch names, commits and PR text are always English; YouTrack comments follow the issue's language. Chat replies keep your session's language, or follow the issue's in a fresh session, in every sub-command including all, and across a compaction.


🧰 Command cheat sheet

/youtrack-task ‹ID› [--implement]        # pick up (plan only without --implement)
/youtrack-task new "<free text>"         # capture an issue
/youtrack-task comment [‹ID›] <text>     # comment on an issue
/youtrack-task log [‹ID›] 1h30m <what>   # log time
/youtrack-task pr                        # push + PR + link + Testing
/youtrack-task link <pr-url>             # attach an already-open PR
/youtrack-task testing | done            # move the issue forward
/youtrack-task worktree list|prune|take <ID>|remove <ID>
/youtrack-task all [ID ...] [--max N] [--dry-run] [--auto-merge]
  • State ladder: Open → In Progress → Testing → Done, forward-only.
  • Issue ID: comment, log, pr, link, testing and done read it from your branch name. Pass an ID to override.
  • Common flags: --no-move, --no-writeback, --base ‹branch›, --worktree, --no-review, --no-confirm-branch, --no-confirm-pr. All of them are in the flag table.

📚 Documentation

Page Covers
🚀 Usage Pickup steps, flags, creating issues, parallel worktrees, sub-commands
🤖 Batch (all) Triage, workers, review loop, --auto-merge, guard hook
⚙️ Configuration Config keys with defaults, how the config file is created and kept up to date, extra reviewer commands, what lives where, MCP tools used
🧩 Other agents Cursor, Copilot, Codex and the Agensi package: MCP setup and what differs
🩺 Troubleshooting Symptoms and fixes, grouped by topic

🧩 Use it in other agents

skills/youtrack-task/ is a self-contained SKILL.md skill, so the workflow is not tied to Claude Code. It runs in Cursor, GitHub Copilot, Codex CLI and other MCP-capable agents, and is listed on Agensi.io and Product Hunt. What changes outside Claude Code (MCP setup, tool names, optional scripts/, the review gate) is on the Other agents page.


🤝 Contributing

Issues and pull requests are welcome. Every behaviour change also updates the docs, changelog, spec, config example and manual test checklist. See CONTRIBUTING.md for the full checklist.

Every pull request and every push to main runs the ci workflow:

  • the test suites in tests/
  • ShellCheck on the hooks and scripts
  • a JSON syntax check
  • a check that plugin.json and marketplace.json have the same version

The release workflow runs the same checks before it builds the package. To use ci as a required check, add it under Settings → Branches → Branch protection.

📜 Changelog

See CHANGELOG.md. Versioning follows SemVer; each release is also a git tag (vMAJOR.MINOR.PATCH).

📄 License

MIT — see LICENSE.


Issues live in YouTrack, work happens in your editor — without the context-switch tax.

About

Claude Code plugin: pick up a JetBrains YouTrack issue — fetch, branch, In Progress, plan, write-back — over YouTrack's remote MCP server

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages