Skip to content

Ability to remove/rename a label on an issue via issue update #258

Description

@rez0

Currently linear-cli issue update --label <name> only adds labels — repeated calls are additive, there's no way to remove or rename a label on a single issue.

label delete <nameOrId> exists, but it deletes the label team-wide, which isn't usable as a per-issue "remove this label" operation.

Would it be possible to add either:

  • issue update --remove-label <name> (or similar), to detach a label from a single issue without deleting it for the whole team, or
  • a label rename <old> <new> command

The underlying Linear GraphQL API already supports issueLabelUpdate for renaming labels, so this looks like it'd mainly be a CLI wrapper addition rather than an API limitation.

Context: using linear-cli to drive a Scrum-style workflow where issues get a sprint-NN label at Planning time; when an issue is returned to the backlog in Review, there's currently no clean way to detach the stale sprint label from that issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions