Events API, Issue and Merge Request Comments.
Dear GitLab team,
I'm currently implementing this neat feature for Trident, it will show issue comments and merge request comments in the history feed.
However, I've run into a bit of a problem (it is a bit complex to explain, I hope you can understand!!)
Currently GitLab 8x will create a Project Event for commenting on Merge Requests and Issues with the targetType "Note" with the actionName = "commented on", and targetID is the Note ID.
The problem presents itself (with no API endpoint to fetch a specific Note for a given ID), I must first fetch Issues and Merge requests, then their comments, then match the Event to the Note.
This IS possible with Issue comments (see the screen shot).
However, with Douwe Maan's comments, these are comments for Merge Requests. The Notes returned do not return an ID? Just the note description and author. I can't show Merge Request comments in the feed :-(
Ideally, I'd like an endpoint to fetch specific notes for a given ID, or even a bulk API to return notes for a range of IDs.
Or, maybe if this is easier, the merge request endpoint to include the ID of the note.