capabilities.work

Create Label and Triage an Issue

A 3-step recipe with GitHub. We can help you get access.

Recipe · 3 steps

Create Label and Triage an Issue

with GitHub · Software Product Engineering Management

Create a label, open an issue, then apply the label to the issue.

  1. Create the triage label in the repository.
  2. Open the issue that will be triaged with the new label.
  3. Apply the newly created label to the issue using the issue number returned by the open step.
What you'll need to have ready
  • githubToken: A GitHub token with repo scope, passed as a Bearer credential.
  • owner: The account owner of the repository.
  • repo: The name of the repository.
  • labelName: The name of the label to create and apply.
  • labelColor: The hexadecimal color code for the label, without a leading hash.
  • labelDescription: A short description of the label.
  • issueTitle: The title of the issue to open.
  • issueBody: The body of the issue to open.
For your developer

Arazzo workflow github:create-label-and-triage-issue, 3 operations: issues/create-label → issues/create → issues/add-labels. Specs on APIs.io.