DATE:
AUTHOR:
Team LaunchNotes
API

Smart Category creation in the Release API

DATE:
AUTHOR: Team LaunchNotes

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
    }
  }
}
Powered by LaunchNotes