feat(jtk): add project management commands#106
Conversation
Add full CRUD for Jira projects via the REST API v3: - list: search/list projects with optional query filter - get: get project details by key or ID - create: create projects with key, name, type, lead, description - update: update project metadata (name, description, lead) - delete: soft-delete to trash with --force flag and confirmation prompt - restore: restore a project from trash - types: list available project types Aliases: projects, project, proj, p Closes #101
Test Coverage Assessment for PR #106SummaryThis PR adds 7 new API methods and 7 new CLI commands for project management. It includes two test files: What is well-coveredAPI layer (
Command layer (
Gaps identified (minor, not blocking)
VerdictThe test coverage is adequate for merge and consistent with the existing test patterns in the codebase (e.g., |
Address TDD review feedback: add missing runUpdate command test
and delete confirmation acceptance ("y") path test.
Closes #101
Summary
api/projects.gowith SearchProjects, CreateProject, UpdateProject, DeleteProject, RestoreProject, ListProjectTypesinternal/cmd/projects/command package with aliasesprojects,project,proj,p--forcebypass, matching existing issues delete patternTest plan
make build-jtk)go test ./tools/jtk/...)make lint)Closes #101