Merge Request Discussions API: accept commit_id to create discussion on commit
All threads resolved!
Compare changes
There are no changes yet
No changes between pass-commit-id-to-MR-discussion and version 12
When creating a new thread on a merge request by using the MR Discussions API, the thread is always on the merge request's entire diff.
This patch allows passing the commit_id
parameter to associate the thread with the desired commit.
Here is a screenshot of the results. Both comments were created using the API.
The second comment was created after my changes, and thus contains the desired started a thread on commit 555c8706
.
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
@gitlab-com/gl-security/appsec
No changes between pass-commit-id-to-MR-discussion and version 12