capabilities.work

Create a Milestone and Assign an Issue to It

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

Recipe · 2 steps

Create a Milestone and Assign an Issue to It

with GitHub · Software Product Engineering Management

Create a milestone then open an issue assigned to it.

  1. Create the milestone in the repository.
  2. Open an issue assigned to the milestone using the milestone number returned by the create 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.
  • milestoneTitle: The title of the milestone to create.
  • milestoneDescription: A description of the milestone.
  • dueOn: The milestone due date as an ISO 8601 timestamp.
  • issueTitle: The title of the issue to open under the milestone.
  • issueBody: The body of the issue to open.
For your developer

Arazzo workflow github:create-milestone-and-issue, 2 operations: issues/create-milestone → issues/create. Specs on APIs.io.