Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/graphql/reference/gitlab_schema.graphql')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql75
1 files changed, 75 insertions, 0 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index f698db84982..898ad11f450 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -1878,6 +1878,11 @@ type Epic implements Noteable {
hasIssues: Boolean!
"""
+ Current health status. Available only when feature flag save_issuable_health_status is enabled.
+ """
+ healthStatus: HealthStatus
+
+ """
ID of the epic
"""
id: ID!
@@ -2253,6 +2258,11 @@ type EpicIssue implements Noteable {
epicIssueId: ID!
"""
+ Current health status. Available only when feature flag save_issuable_health_status is enabled.
+ """
+ healthStatus: HealthStatus
+
+ """
Global ID of the epic-issue relation
"""
id: ID
@@ -3060,6 +3070,15 @@ type GroupPermissions {
}
"""
+Health status of an issue or epic
+"""
+enum HealthStatus {
+ atRisk
+ needsAttention
+ onTrack
+}
+
+"""
State of a GitLab issue or merge request
"""
enum IssuableState {
@@ -3180,6 +3199,11 @@ type Issue implements Noteable {
epic: Epic
"""
+ Current health status. Available only when feature flag save_issuable_health_status is enabled.
+ """
+ healthStatus: HealthStatus
+
+ """
Internal ID of the issue
"""
iid: ID!
@@ -4667,6 +4691,7 @@ type Mutation {
be destroyed during the update, and no Note will be returned
"""
updateImageDiffNote(input: UpdateImageDiffNoteInput!): UpdateImageDiffNotePayload
+ updateIssue(input: UpdateIssueInput!): UpdateIssuePayload
"""
Updates a Note. If the body of the Note contains only quick actions, the Note
@@ -7602,6 +7627,11 @@ input UpdateEpicInput {
groupPath: ID!
"""
+ The desired health status
+ """
+ healthStatus: HealthStatus
+
+ """
The iid of the epic to mutate
"""
iid: String!
@@ -7698,6 +7728,51 @@ type UpdateImageDiffNotePayload {
}
"""
+Autogenerated input type of UpdateIssue
+"""
+input UpdateIssueInput {
+ """
+ A unique identifier for the client performing the mutation.
+ """
+ clientMutationId: String
+
+ """
+ The desired health status
+ """
+ healthStatus: HealthStatus
+
+ """
+ The iid of the issue to mutate
+ """
+ iid: String!
+
+ """
+ The project the issue to mutate is in
+ """
+ projectPath: ID!
+}
+
+"""
+Autogenerated return type of UpdateIssue
+"""
+type UpdateIssuePayload {
+ """
+ A unique identifier for the client performing the mutation.
+ """
+ clientMutationId: String
+
+ """
+ Reasons why the mutation failed.
+ """
+ errors: [String!]!
+
+ """
+ The issue after mutation
+ """
+ issue: Issue
+}
+
+"""
Autogenerated input type of UpdateNote
"""
input UpdateNoteInput {