get_issues
Batch-fetch multiple YouTrack issues in one request using a known ID list, returning compact or JSON output with per-item not-found reporting so enrichment passes avoid repeated round-trips.
Instructions
Batch-fetch multiple issues in one round-trip.
Composes a single #A or #B or #C query so a 20-issue enrichment
pass takes one HTTP request instead of twenty. Useful when you
already have a known ID list (active-focus picks, stuck-handoff
IDs, daily-summary references). One unknown or malformed ID never
fails the batch: it is reported per item as not found. JSON items
carry url, so callers never build links by hand.
Reuses get_issue's default field set + normalize_issue for
consistent JSON shape across tools. Default include_comments=False
because batch mode usually doesn't need them and they're heavy.
Args:
ids: Comma-separated issue IDs or URLs (PROJ-1, PROJ-2, ...).
Up to ~100 IDs per call — large lists should be split
across multiple calls.
fields: Override the YT field selector. Empty uses
get_issue's expanded default.
format: "report" (default compact list) or "json" (array of
normalized issue dicts).
include_comments: Include comments in the response
(default False — batch mode rarely needs them).
instance: YouTrack instance (optional).
description_chars: In format="json", cap each description and
comment text at this many characters, with a marker giving
the dropped length (default 2000; 0 = full text). A batch of
long specs otherwise returns tens of thousands of tokens;
use get_issue for one issue's full text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "get_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| fields | No | ||
| format | No | report | |
| instance | No | ||
| include_comments | No | ||
| description_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |