Skip to content

Add milestone_id to issue update graphQL mutation

Jarka Košanová requested to merge 36312-issue-update-milestone into master

What does this MR do?

It adds milestone_id to the issue update mutation.

Examples

Setting milestone

mutation {
  updateIssue(input: {projectPath: "flightjs/flight", iid: "607", milestoneId: 54}) {
    issue {
      id
      milestone {
        id
        title
      }
    }
    errors
  }
}

Removing milestone

mutation {
  updateIssue(input: {projectPath: "flightjs/flight", iid: "607", milestoneId: null}) {
    issue {
      id
      milestone {
        id
        title
      }
    }
    errors
  }
}

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Issue #36312 (closed)

Merge request reports

Loading