feat(jtk): add custom field management commands#156
Conversation
Add `jtk fields` command group with full CRUD for custom field definitions, contexts, and options via the Jira Cloud REST API v3. New commands: - fields list, create, delete (trash), restore - fields contexts list, create, delete - fields options list, add, update, delete Options subcommands auto-detect the default context when --context is omitted, simplifying the common single-context workflow. Closes #155
Test Coverage AssessmentSummaryThis PR adds 11 new subcommands under Coverage numbers:
What is well-coveredAPI layer (
Command layer (
Gaps — notable but minor
VerdictThe test coverage is solid and well above the codebase baseline. The gaps identified are minor — all critical paths (CRUD operations, URL construction, field ID validation, confirmation prompts, output formatting) are covered. The 82.2% statement coverage on the command layer is the highest of any command package in the repo. No blocking issues from a test coverage perspective. |
Summary
jtk fieldstop-level command group with full CRUD for custom field definitions, contexts, and optionsfields list/create/delete/restore,fields contexts list/create/delete,fields options list/add/update/delete--contextis omitted from options subcommandsTest plan
make buildpassesmake testpasses (all new + existing tests)make lintpasses (0 issues)integration-tests.md)Closes #155