Adding labels via the glab CLI/API fails with HTTP 500
I'm trying to do some backlog grooming and wanted to use the CLI to add labels to a list of issues:
$ glab issue update '222' --repo 'gitlab-com/gl-infra/platform/runway/team' --label 'Service::Runway'
- Updating issue #222
PUT https://gitlab.com/api/v4/projects/gitlab-com/gl-infra/platform/runway/team/issues/222: 500 {message: 500 Internal Server Error}
Exception:
unknown attribute 'add_labels' for Issue.
raise UnknownAttributeError.new(self, k.to_s)
^^^^^
Abbreviated backtrace:
app/services/issuable_base_service.rb:335:in `update'
app/services/issues/update_service.rb:23:in `update'
app/services/issues/update_service.rb:17:in `execute'
ee/app/services/ee/issues/update_service.rb:23:in `execute'
lib/api/issues.rb:322:in `block (2 levels) in <class:Issues>'
…
Full log entry: https://log.gprd.gitlab.net/app/discover#/doc/7092c4e2-4eb5-46f2-8305-a7da2edad090/pubsub-rails-inf-gprd-021655?id=bx_2pY8BVoMsAy77U3AR