gitlab-org--gitlab-foss/app/assets/javascripts/sidebar/queries/project_issue_milestone.mutation.graphql

17 lines
371 B
GraphQL

mutation projectIssueMilestoneMutation($fullPath: ID!, $iid: String!, $attributeId: ID) {
issuableSetAttribute: updateIssue(
input: { projectPath: $fullPath, iid: $iid, milestoneId: $attributeId }
) {
__typename
errors
issuable: issue {
__typename
id
attribute: milestone {
title
id
state
}
}
}
}