Add merge and closed user ids to MR metrics
What does this MR do and why?
This adds a merged_by_id
or the latest_closed_by_id
to a MergeRequestMetrics
record when importing pull requests from bitbucket cloud.
It assigns either the mapped BitBucket User if one can be found, or the merge request author.
Updating these DB columns ensures the MRs have a user assigned as the Merged by or Closed by user.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Related to #468852 (closed)
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
Edited by Carla Drago
Merge request reports
Activity
Please register or sign in to reply