Skip to content

Allow to update issuable health status on GraphQL

Felipe Artur requested to merge issue_36427_2 into master

What does this MR do?

Add following mutation for issues and epics:

mutation {
  updateIssue(input: { projectPath: "local-group/project-1", iid: "1", healthStatus: onTrack }) {
    issue{
      iid
      title
      healthStatus
    }
  }
}

mutation {
  updateEpic(input:{ groupPath: "local-group", iid: "1", healthStatus: needsAttention } ) {
    epic {
      iid
      title
      healthStatus
    }
  }
}

related to #36427 (closed)

this feature is behind a feature flag: save_issuable_health_status

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports