Fix wrong MR reference in draft notes

What does this MR do and why?

This MR fixes wrong MR reference in draft notes controller. Previously it was using global MR id while it should've been local (project-scoped, iid).

Fixes /ready quick action in draft comment says "No c... (#494210 - closed).

Screenshots or screen recordings

Before After
Screen_Recording_2024-11-20_at_15.50.29 Screen_Recording_2024-11-20_at_15.49.01

How to set up and validate locally

  1. Open any merge request with changes
  2. Set draft status to the MR
  3. Create a /ready draft comment on any of the changed files/lines
  4. The comment preview should contain this text: Marks this merge request as ready..

Merge request reports

Loading