Add vektor issue update command #11
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#12 Add
vektor issue move shortcut
austin/vektor
#30 Build issue detail page
austin/vektor
#10 Add
vektor issue view command
austin/vektor
Reference
austin/vektor#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Update issue fields from the CLI using human-readable references.
What needs to happen
CLI:
vektor issue update VEK-3 --status in_progress --priority high --title "New title"All flags are optional (at least one required). Uses the same
VEK-3ref parsing asissue view.Backend change needed:
Add
PATCH /api/projects/{projectKey}/issues/{number}endpoint. The existingPATCH /api/issues/{id}uses UUIDs, which the CLI shouldn't need to know about. The new endpoint resolves project key + number to the issue internally.Key files
internal/api/issues.go— new handler for update-by-numberinternal/api/server.go— new route registrationvektor issue viewcommandvektor issue moveshortcut