Add vektor issue view command #10

Open
opened 2026-03-16 21:24:54 +00:00 by austin · 0 comments
Owner

View a single issue's full details from the CLI using human-readable references.

What needs to happen

CLI:
vektor issue view VEK-3

Parse the argument by splitting on - to extract project key and issue number. Display: title, status, priority, description (if any), created by, created at, updated at.

Backend change needed:
Add a new endpoint: GET /api/projects/{projectKey}/issues/{number}. The current API only has list and update-by-UUID — there's no way to fetch a single issue by its human-readable identifier.

Key files

  • internal/api/issues.go — new handler for single issue by number
  • internal/api/server.go — new route registration
View a single issue's full details from the CLI using human-readable references. ## What needs to happen **CLI:** `vektor issue view VEK-3` Parse the argument by splitting on `-` to extract project key and issue number. Display: title, status, priority, description (if any), created by, created at, updated at. **Backend change needed:** Add a new endpoint: `GET /api/projects/{projectKey}/issues/{number}`. The current API only has list and update-by-UUID — there's no way to fetch a single issue by its human-readable identifier. ## Key files - `internal/api/issues.go` — new handler for single issue by number - `internal/api/server.go` — new route registration
austin added this to the CLI Core milestone 2026-03-16 21:24:54 +00:00
austin self-assigned this 2026-03-16 21:24:54 +00:00
austin added this to the Vektor - CLI project 2026-03-16 21:24:54 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
austin/vektor#10
No description provided.