← 返回
开发者工具 Key 中文

YouTrack Issue Tracker

Manage YouTrack issues, projects, and workflows via CLI. Use when creating, updating, searching, or commenting on YouTrack issues, listing projects, checking issue states, or automating issue workflows.
通过 CLI 管理 YouTrack 的问题、项目和工作流;适用于创建、更新、搜索、评论问题,列出项目,检查状态,或自动化工作流。
iahmadzain
开发者工具 clawhub v1.0.1 1 版本 99745.7 Key: 需要
★ 1
Stars
📥 2,333
下载
💾 43
安装
1
版本
#latest

概述

YouTrack CLI

Use ytctl (in scripts/) for YouTrack issue tracking.

Setup

Credentials stored in ~/.config/youtrack/config.json:

{
  "url": "https://your-instance.youtrack.cloud",
  "token": "perm:xxx"
}

Or set env vars: YOUTRACK_URL, YOUTRACK_TOKEN

Generate token: YouTrack → Profile → Account Security → New Token

Commands

# List projects
ytctl projects

# List issues (with optional filters)
ytctl issues                           # all issues
ytctl issues SP                        # issues in project SP
ytctl issues SP --query "state: Open"  # filtered
ytctl issues --max 50                  # limit results

# Get issue details
ytctl issue SP-123

# Create issue
ytctl create SP "Bug: Login fails"
ytctl create SP "Feature request" "Detailed description here"

# Update issue
ytctl update SP-123 state "In Progress"
ytctl update SP-123 assignee john.doe
ytctl update SP-123 priority Critical

# Add comment
ytctl comment SP-123 "Investigating this now"

# Search with YouTrack query syntax
ytctl search "project: SP state: Open assignee: me"
ytctl search "created: today"
ytctl search "#unresolved sort by: priority"

# List workflow states for project
ytctl states SP

# List users
ytctl users
ytctl users --query "john"

Query Syntax

YouTrack query examples:

  • state: Open — by state
  • assignee: me — assigned to current user
  • created: today — created today
  • updated: {last week} — updated in last week
  • #unresolved — all unresolved
  • has: attachments — with attachments
  • sort by: priority desc — sorted

Combine: project: SP state: Open assignee: me sort by: updated

Output

Default: table format. Add --json for raw JSON output:

ytctl issues SP --json
ytctl issue SP-123  # always JSON for single issue

Bulk Operations

# Update all matching issues (with dry-run preview)
ytctl bulk-update "project: SP state: Open" state "In Progress" --dry-run
ytctl bulk-update "project: SP state: Open" state "In Progress"

# Comment on all matching issues
ytctl bulk-comment "project: SP state: Open" "Batch update notice"

# Assign all matching issues
ytctl bulk-assign "project: SP #unresolved" john.doe --dry-run

Reports

# Project summary (default 7 days)
ytctl report SP
ytctl report SP --days 14

# User activity report
ytctl report-user zain
ytctl report-user zain --days 30

# State distribution with bar chart
ytctl report-states SP

Notes

  • Project can be shortName (SP) or full name
  • Fields: state, summary, description, assignee, priority
  • Use ytctl states PROJECT to see valid state names
  • Bulk operations support --dry-run to preview before executing

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 15:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Home Assistant

iahmadzain
控制Home Assistant智能家居设备、运行自动化并接收webhook事件。适用于控制灯光、开关、温控、场景、脚本或任意HA实体。支持通过REST API(出站)和webhook(入站触发)进行双向通信。
★ 50 📥 21,027
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,834