summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/work_items/graphql/create_work_item.mutation.graphql
blob: 9312d1c582bfb6f43e2679db42195da07e052022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import './widget.fragment.graphql'

mutation createWorkItem($input: WorkItemCreateInput!) {
  workItemCreate(input: $input) {
    workItem {
      id
      title
      workItemType {
        id
      }
      widgets @client {
        nodes {
          ...WidgetBase
        }
      }
    }
  }
}