glab issue update --label not adding label
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: glab 1.58.0 (676a7ced)
-
Operating system and version: macOS-15.5 -
Gitlab.com or self-managed instance? self-managed instance -
GitLab version (if self-managed) gitlab-ee 18.0.1-ee.0 amd64, {"version":"18.0.1-ee","revision":"3426be1b938","kas":{"enabled":true,"externalUrl":"wss://gitlab.XXXX/-/kubernetes-agent/","externalK8sProxyUrl":"https://gitlab.XXXX/-/kubernetes-agent/k8s-proxy/","version":"18.0.1"},"enterprise":true} (Use the versionendpoint, like this: gitlab.my-company.com/api/v4/version) -
I have performed glab auth statusto check for authentication issues -
Run the command in debug mode (like DEBUG=true glab mr list) and attach any useful output
Summary
glab did not update labels.
Environment
- OS: Darwin 24.5.0 arm64
- SHELL: /bin/zsh
- TERM: xterm-256color
- GLAB: glab 1.58.0 (676a7ced)
Other:
Steps to reproduce
% glab issue view 2551
open • opened by XXXX about 27 days ago
Test #2551
0 upvotes • 0 downvotes • 0 comments
Labels: 2025::May__, category::Promo, workflow::Needs Review
View this issue on GitLab: https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
% glab issue update 2551 --label 2025::May --unlabel 2025::May__
- Updating issue #2551
✓ added labels 2025::May
✓ removed labels 2025::May__
#2551 Test (about 27 days ago)
https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
% glab issue view 2551
open • opened by XXXX about 27 days ago
Test #2551
0 upvotes • 0 downvotes • 0 comments
Labels: 2025::May__, category::Promo, workflow::Needs Review
View this issue on GitLab: https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
% glab issue update 2551 --label 2025::May
- Updating issue #2551
✓ added labels 2025::May
#2551 Test (about 27 days ago)
https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
% glab issue view 2551
open • opened by XXXX about 27 days ago
Test #2551
0 upvotes • 0 downvotes • 0 comments
Labels: 2025::May__, category::Promo, workflow::Needs Review
View this issue on GitLab: https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
DEBUG=true glab issue update 2551 --label 2025::May --unlabel 2025::May__
[git remote -v]
[git config --get-regexp ^remote\..*\.glab-resolved$]
[git remote -v]
[git config --get-regexp ^remote\..*\.glab-resolved$]
[git remote -v]
[git config --get-regexp ^remote\..*\.glab-resolved$]
[git remote -v]
[git config --get-regexp ^remote\..*\.glab-resolved$]
- Updating issue #2551
✓ added labels 2025::May
✓ removed labels 2025::May__
#2551 Test (about 27 days ago)
https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
% glab issue view 2551
open • opened by XXXX about 27 days ago
Test #2551
0 upvotes • 0 downvotes • 0 comments
Labels: 2025::May__, category::Promo, workflow::Needs Review
View this issue on GitLab: https://gitlab.XXXX/planning/marketing/marketing/-/issues/2551
What is the current bug behavior?
labels are not added/removed
What is the expected correct behavior?
labels should be added/removed
Relevant logs and/or screenshots
see above
Possible fixes
I have no idea where the bug in the code is.