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.
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, orlabel rename <old> <new>commandThe underlying Linear GraphQL API already supports
issueLabelUpdatefor 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-NNlabel 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.