capabilities.work

Replace all labels on an issue

One step with GitHub. We can help you get access.

Get something done

Replace all labels on an issue

with GitHub · Software Product Engineering Management

Use GitHub: its GitHub v3 REST Issues API lets you replace all labels on an issue in a single step (PUT /repos/{owner}/{repo}/issues/{issue_number}/labels). capabilities.work can help you get signed up and connected.

  • Can I overwrite an issue's labels so only a new set remains?
  • What's the way to swap out every existing label on an issue in one go?
Say it to your AI assistant
  • Replace all labels on issue #{issue_number} in {owner}/{repo} with a new set.
  • Clear the previous labels on issue {issue_number} in {owner}/{repo} and set fresh ones.
For your developer

PUT /repos/{owner}/{repo}/issues/{issue_number}/labels in GitHub v3 REST Issues API. Full spec on APIs.io.