Commit e4a062c9 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: add an endpoint for issues closed by an MR

parent ca36d627
......@@ -287,6 +287,15 @@ impl Gitlab {
self._get(&format!("projects/{}/merge_requests/{}", project, merge_request))
/// Get the issues that will be closed when a merge request is merged.
pub fn merge_request_closes_issues(&self, project: ProjectId, merge_request: MergeRequestId)
-> GitlabResult<Vec<Issue>> {
// FIXME: this will fail with external issue references (ExternalIssue).
/// Get the notes from a merge request.
pub fn merge_request_notes(&self, project: ProjectId, merge_request: MergeRequestId)
-> GitlabResult<Vec<Note>> {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment