feat(issue): add yt issue set-field (YT-9) #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/issue-set-field-YT-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
yt issue set-field <ID> <FIELD> <VALUE>...for setting any enum-typed custom field. Mirrorsset-stateergonomics: multi-word values join with spaces,--dry-runvalidates without mutating,--jsonemits a confirmation envelope.post_with_type_retrydiscover-on-400 mechanism, so the same command works forState,Type,Priority, and project-defined enums likeAI Agentwithout the caller having to know the YouTrack$typediscriminator.claude-botneeds to transition issues across anAI Agentstate machine; today the only path is the YouTrack command language viayt issue apply --command.Closes YT-9.
Test plan
yt issue set-field YT-9 Priority Majorround-trips through the API and a follow-up inspect shows the new value.yt --dry-run issue set-field YT-9 Priority Majorprints the planned mutation and does not send the POST.yt issue set-field YT-9 AI\ Agent Workingworks against a project-defined enum field (when present).