Commit 6d54ce1d authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: add a method for getting issues closed by an MR

parent 5f24d8f6
......@@ -418,6 +418,16 @@ impl Gitlab {
self._post_with_param(path, &[("body", content)])
/// Get issues closed by a merge request.
pub fn get_issues_closed_by_merge_request(&self, project: ProjectId,
merge_request: MergeRequestId)
-> Result<Vec<Issue>> {
let path = &format!("projects/{}/merge_requests/{}/closes_issues",
/// Set the labels on an issue.
pub fn set_issue_labels<I, L>(&self, project: ProjectId, issue: IssueId, labels: I)
-> Result<Issue>
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