Approving merge request via the API does not show the approver
Summary
Approving a merge request via the API does not show the user who approved the merge request
Steps to reproduce
- Create a merge request via the API
- Approve the merge request via the API: curl --request "POST" --header "PRIVATE-TOKEN: " "https://<GITLAB_URL>/api/v4/projects/<PROJECT_ID>/merge_requests/<MERGE_REQUEST_IID>/approve
- The UI does not indicate who approved the merge request
Example Project
What is the current bug behavior?
The Approved by section does not show who approved the merge request
What is the expected correct behavior?
The UI should show which user approved the merge request similar to when done via the API
Relevant logs and/or screenshots
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)
Possible fixes
Edited by Rocky Mongare