Completed on

Smart Category creation in the Release API

Passing a name instead of an ID in a category object when creating a release will now find or create a category of that name and associate it with the new release.

mutation CreateRelease($projectId: ID!) {
  createRelease(input: {
    release: {
      projectId: $projectId,
      name: "My fancy new release",
      summary: "A great release summary",
      categories: [{ name: "new category" }, { id: "cat_S1BYrPgYYNVtF" }]
    }
  }) {
    release {
      id
    }
  }
}

🗜 API

  • Release was published!
Powered by LaunchNotes