-
Notifications
You must be signed in to change notification settings - Fork 0
Open
1 / 11 of 1 issue completedOpen
1 / 11 of 1 issue completed
Copy link
Description
Introduce the azdo boards iteration project command group to handle project-scoped iteration (sprint) operations.
Command Group Description
Add a project subgroup under azdo boards iteration that scopes iteration management commands to a single project. This layer will host commands such as list to surface sprint hierarchies and schedule metadata.
Implementation Notes
- Add
internal/cmd/boards/iteration/project/project.goexposingNewCmd(ctx util.CmdContext) *cobra.Command. - Follow the
[organization/]<project>positional pattern used across boards commands, reusing shared parsing helpers so organization defaults apply when omitted. - Register the subgroup in
internal/cmd/boards/iteration/iteration.goand regenerate documentation. - Help text should clarify that commands in this subgroup enumerate or manage the iteration tree, including optional depth controls for nested sprints.
Command Wiring
- Implement the subgroup in
internal/cmd/boards/iteration/project/project.goand ensureNewCmdlives in that package. - Register it from
internal/cmd/boards/iteration/iteration.goviacmd.AddCommand(project.NewCmd(ctx))so the hierarchy is reachable fromazdo boards iteration. - After wiring, run
make docsso the Cobra documentation reflects the new command chain.
SDK / Client Requirements
- This group acts as the parent for project-scoped iteration commands. The current codebase already exposes the Work Item Tracking client via
ClientFactory().WorkItemTracking(...); leaf commands under this group must use that client for classification node operations. - If additional Azure DevOps SDK clients become necessary, follow the "Handling Missing Azure DevOps SDK Clients" guidance in
AGENTS.md(extendClientFactory, rungo mod tidyandgo mod vendor, updatescripts/generate_mocks.sh, and implement the factory method) before implementing command logic.
Tooling & Validation
- Format all touched Go files with
gofmt/goimports. - Run
go build ./cmd/azdo/...to catch missing imports or unresolved symbols. - Add/update hermetic tests and execute
go test ./...to verify behavior.
References
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels