Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36,935
    • Issues 36,935
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,415
    • Merge requests 1,415
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #268161

Closed
Open
Created Oct 15, 2020 by charlie ablett@cablett🔴Maintainer

Update health status fails

Summary

When updating health status via sidebar on issues, an error banner appears and the update fails.

image

Steps to reproduce

  1. Go to an issue
  2. On the sidebar, select a health status
  3. Observe red banner
  4. Reload. No update.

Example Project

This is the issue I tested it on: issue-reproduce/charliecharlie123#10

What is the current bug behavior?

The health status does not update, and a red banner appears.

What is the expected correct behavior?

The health status should update with no error.

Relevant logs and/or screenshots

Browser info for updating issue-reproduce/charliecharlie123#10

Request payload
[{"operationName":null,"variables":{"healthStatus":"onTrack","projectPath":"issue-reproduce/charliecharlie123","iid":"10"},"query":"mutation ($projectPath: ID!, $iid: String!, $healthStatus: HealthStatus) {\n  updateIssue(input: {projectPath: $projectPath, iid: $iid, healthStatus: $healthStatus}) {\n    issue {\n      healthStatus\n      __typename\n    }\n    errors\n    __typename\n  }\n}\n"}]

JSON output:

JSON response body
[{"errors":[{"message":"InputObject 'UpdateIssueInput' doesn't accept argument 'healthStatus'","locations":[{"line":2,"column":61}],"path":["mutation","updateIssue","input","healthStatus"],"extensions":{"code":"argumentNotAccepted","name":"UpdateIssueInput","typeName":"InputObject","argumentName":"healthStatus"}},{"message":"Variable $healthStatus is declared by anonymous mutation but not used","locations":[{"line":1,"column":1}],"path":["mutation"],"extensions":{"code":"variableNotUsed","variableName":"healthStatus"}}]}]

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Workaround

  • Go to issue list (in the breadcrumbs, click "Issues")

image

  • Click "Edit Issues" button on the top right

image

  • Select your issue

image

  • Select the health status

image

  • Click "Update All" at the top

image

Possible fixes

Edited Oct 15, 2020 by charlie ablett
Assignee
Assign to
13.6
Milestone
13.6 (Past due)
Assign milestone
Time tracking