summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/sidebar/labels_select_widget/graphql/create_label.mutation.graphql
blob: 9aa4f5d165e2564ccccdfb7f1a041de1f1439b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mutation createLabel($title: String!, $color: String, $projectPath: ID, $groupPath: ID) {
  labelCreate(
    input: { title: $title, color: $color, projectPath: $projectPath, groupPath: $groupPath }
  ) {
    label {
      id
      color
      description
      descriptionHtml
      title
      textColor
    }
    errors
  }
}