Skip to content
jthegunner_

← All projects

youtrack-task

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

ActiveCI passing

★ 0 · Last push 3 Dec 2026

Open on GitHub

Installation

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

Releases

  1. v0.22.1

    Show changes
    • Fix: the review-gate hook blocked a push because of a redirection. hooks/require-review read 2>&1, >file and the like as refspecs, so git push origin <branch> 2>&1 was denied even for a branch without an issue ID. Redirections are now removed before the command is parsed. This also closes a gap: a push with a redirection in front (2>&1 git push …) was not checked at all.
  2. v0.22.0

    Show changes
    • all --decide [ask|auto]. Issues with open questions, without acceptance criteria or of architectural size can now be worked on. A new read-only ticket-decider agent lists the criteria and classifies every open point. ask (default) puts the critical ones to you at the start; auto decides them too. Servers, network, secrets, data stores, deletions and costs are never decided.
    • Decisions are posted on the issue, labelled user or agent, checked by the review and listed in the PR.
    • --decide works with --auto-merge. The start question then also covers push, PR and merge. Only issues without an unchecked critical decision or derived criteria are merged.
    • A worker's BLOCKED question is now posted with the Needs attention heading.
  3. v0.21.1

    Show changes
    • Fix: the chat language held in the primary flow only. In all --auto-merge runs the language was German in one session and English in the next, with the same invocation: only the primary flow printed → Chat language:, so all and the other sub-commands depended on the model remembering the rule. Now read-config (step 0, run on every invocation) ends with a CHAT_LANGUAGE_TODO= reminder, all prints the line as its first output and names the language in the worker and reviewer briefing, and the other sub-commands print it right after step 0.
    • Fix: the language fell back to English after a compaction. The compaction summary is English and says nothing about the chat language. A new SessionStart hook with matcher compact (hooks/remind-chat-language) reminds the agent of the last printed language and to relay notices from hooks and plugins such as claude-mem in it. Text claude-mem writes itself is not under the plugin's control.
    • SKILL.md line budget 400 → 410 for the Language table. New tests/remind-chat-language.sh.
  4. v0.21.0

    Show changes
    • The config file creates and maintains itself. A SessionStart hook (hooks/sync-config) runs once per plugin version, on the first Claude Code start after an install or update. Without ~/.config/youtrack-task/config.toml it creates the file from config.example.toml, so you start from one file with every option. With one, it appends the options the new version added (commented out, with their comment, placed before any [table] header so they still work when uncommented) and removes the ones it dropped, judged against a snapshot of the previous example. Your own values, keys and comments are never touched, a config.toml.bak is written before any change, and one line tells you what happened. An unchanged version exits at once; read-config stays read-only. The first update after adopting this removes nothing, because there is no earlier snapshot.
    • tests/sync-config.sh covers create, no-op, add, prune, idempotence, backup, the [type_prefix] block, the real example and the read-only case.
  5. v0.20.0

    Show changes
    • Chat language follows the session, else the issue. The skill now has a rule for what it says to you in the chat, separate from git artifacts (always English) and YouTrack text (the issue's language). Order: your instruction, then the language of the session if you had already written to the agent before the invocation, else the issue's language. The step-2 brief starts with → Chat language: <language> (<reason>), so later replies follow a visible value. Before, replies came out in English even for a German issue.
    • tests/skill-text.sh checks the rule, the brief line and that no reference file repeats it; the SKILL.md line limit goes from 390 to 400 for it.
  6. v0.19.1

    Show changes
    • Docs: README mentions the reviewer's extra commands. The review-gate step of the README says the reviewer is read-only and that a project can allow more commands for it in .youtrack-task/reviewer-commands, linking docs/configuration.md#letting-the-reviewer-run-more; the Configuration entry of the docs table names them. No behaviour change.
    • tests/skill-text.sh checks that the README links that section and that the heading exists.
  7. v0.19.0

    Show changes
    • Reviewer: an allowed way to verify, still read-only. The ticket-reviewer guard (hooks/guard-subagent) now also allows swift test, swift build, go build ./..., golangci-lint run and scripts/*test*. Options that write or steer a build (--fix, -o, -toolexec, -ldflags, -Xswiftc, --package-path) stay rejected.
    • New config key reviewer_commands and a per-project file .youtrack-task/reviewer-commands (one command per line, # comments): extra commands the reviewer may run, each matched exactly (whole command, no regex, no prefix). The project file is read from the base branch with git show, never from the branch under review, so a branch cannot allow commands for its own review. See reference/reviewer-allowlist.md and docs/configuration.md.
    • A rejected reviewer command is no longer a code finding. The hook marks it [blocked-by-guard]; the reviewer reports BLOCKED_BY_GUARD and the review gate returns BLOCKED without a fix round, without a stamp, listing the commands and how to allow them. Before, "build, lint or CI not checkable" ended as CHANGES_REQUESTED.
    • The base branch of .youtrack-task/reviewer-commands is resolved from full ref names (refs/remotes/origin/HEAD, refs/remotes/origin/main|master, refs/heads/main|master) and read by commit id, so a tag named main or origin/main cannot shadow it. The worker guard also denies git symbolic-ref writes, git remote set-head, git replace, git fetch / git pull into refs (also --refmap), git branch --force/--move/--copy (also abbreviated), git checkout -B, git switch -C and git worktree add -B, checked on the command with its quote characters removed (and git -C <dir> normalised first, the dir read as a whole shell word: quoted, escaped or plain) so quoting an argument does not hide it; the lookups ignore replace refs.
    • read-config resolves reviewer_commands (REVIEWER_COMMANDS, entries joined with ;). Tests cover the new built-ins, both extra sources and the self-allowing branch.
  8. v0.18.5

    Show changes
    • Docs: not just a Claude Code plugin. The README header, tagline and badge now say the tool also runs in Cursor, GitHub Copilot, Codex CLI and other MCP-capable agents. The install step offers four routes (Claude Code plugin, Agensi, Product Hunt, other agents), and the README shows the Product Hunt badge (in the header and in the install table) and links the Agensi listing. The agent setup moved to the new docs/other-agents.md (MCP settings per agent, what differs outside Claude Code, building the Agensi package).

    • tests/skill-text.sh checks that the README links docs/other-agents.md, the Agensi listing and the Product Hunt badge, and that the header names other agents.

    • Docs: shorter, scannable README. README.md is now the entry point only: what the plugin does, a quick start, the task flow, a command cheat sheet and links. The detail moved, unchanged in substance, to docs/usage.md, docs/batch.md, docs/configuration.md and docs/troubleshooting.md (the troubleshooting table is grouped by topic).

    • tests/skill-text.sh reads the Config overrides section and the fixed-ladder statement from docs/, and checks that the README links every docs page.

All 33 releases on GitHub

README

Image: 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

Image: 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: Image: 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 ...] [--decide [ask|auto]] [--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, --decide, --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.