summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/queries/toggle_wip.mutation.graphql
blob: cfaa198d5167bd8a16c8479b4720a1295283e067 (plain)
1
2
3
4
5
6
7
8
9
10
mutation toggleWIPStatus($projectPath: ID!, $iid: String!, $wip: Boolean!) {
  mergeRequestSetWip(input: { projectPath: $projectPath, iid: $iid, wip: $wip }) {
    mergeRequest {
      mergeableDiscussionsState
      title
      workInProgress
    }
    errors
  }
}