Skip to content

feat(issue): add --estimate flag to create and update commands#56

Open
t-choudhury wants to merge 1 commit into
dorkitude:masterfrom
t-choudhury:feat/estimate-flag
Open

feat(issue): add --estimate flag to create and update commands#56
t-choudhury wants to merge 1 commit into
dorkitude:masterfrom
t-choudhury:feat/estimate-flag

Conversation

@t-choudhury

@t-choudhury t-choudhury commented May 29, 2026

Copy link
Copy Markdown

Summary

Adds --estimate / -e flag to issue create and issue update for cycle capacity planning.

Changes

File Change
cmd/issue.go Added --estimate flag registration and input building for both create and update
cmd/issue_cmd_test.go Flag registration test
README.md Quick Start examples and Command Reference flag docs

Design

No client-side validation of estimate values — Linear supports multiple estimation systems configured per-team (Fibonacci, Linear, T-shirt, Exponential), so the valid set varies. The API handles validation.

Usage

# Create with estimate
linctl issue create --title "Feature" --team ENG --estimate 3

# Update estimate
linctl issue update LIN-123 --estimate 5
linctl issue update LIN-123 -e 8

Testing

  • go build ./...
  • go test ./...
  • go vet ./...

Add estimate support for cycle capacity planning:
- --estimate flag on issue create and issue update (-e shorthand)
- Validates against Linear fibonacci scale: 0, 1, 2, 3, 5, 8, 13
- Tests for validation logic and flag registration
- README documentation in Quick Start and Command Reference
@t-choudhury t-choudhury force-pushed the feat/estimate-flag branch from fdf1b4d to dcce9ce Compare May 29, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant