Hi there!
I want to create comments on the merge request view on a specific line. More specifically, I want to create a suggestion (a merge request comment inside the ```suggestion
tag like the one at https://gitlab.com/axeit/eslint-example/-/merge_requests/1#note_487689068).
I am only able to create those manually, I was expecting to be able create a comment via API where the text of that body would be wrapped on the ```suggestion
tag.
It seems that the way to create comments on Merge Requests don’t accept line
as field:
https://docs.gitlab.com/ee/api/notes.html#create-new-merge-request-note
So any comment made with that API just exists as a comment not part of the code.
Also tried to use https://docs.gitlab.com/ee/api/commits.html#post-comment-to-commit to comment on the latest commit of a Merge Request, which would be fine, except for the fact that the ```suggestion
tag does not work on commit comments.
Anyone has any suggestion on how can I have suggestions on a Merge Request via API?
Thx!