Area#
Pull requests (GitLab provider)
Steps to reproduce#
- Open a GitLab merge request you can edit in Pull requests. I used !5 on TonybynMp4/git-ansible, which has the project labels
bug, documentation and enhancement.
- Look at the Summary tab.
Expected behavior#
A Labels row with a picker, the same one GitHub pull requests have.
Actual behavior#
No Labels row and no way to add one. The GitLab provider never sets the labels capability and implements neither listLabelCandidates nor setLabels, so web and mobile hide the picker.
GitLab tells us whether the viewer may change labels:
$ glab api graphql -f query='{ project(fullPath: "TonybynMp4/git-ansible") { mergeRequest(iid: "5") { labels { nodes { title } } userPermissions { adminMergeRequest } } } }' | jq -c .data
{"project":{"mergeRequest":{"labels":{"nodes":[]},"userPermissions":{"adminMergeRequest":true}}}}
Impact#
Labels set the triage and pipeline rules on many GitLab projects. Today they have to be changed on GitLab.
Version or commit#
7c22e24e3f (main)
Environment#
Linux, web dev build, gitlab.com through glab.
Screenshots, recordings, or supporting files#
On main, !5's Summary tab has no Labels row:

No label row
Workaround#
Edit labels on GitLab or with glab mr update <n> --label <name>.