Module: Gitlab::Client::Issues

Defined in:
lib/dri/gitlab/issues.rb

Instance Method Summary collapse

Instance Method Details

List related merge requests

Examples:

Gitlab.related_issue_merge_requests(3, 42)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • id (Integer)

    The ID of an issue.



15
16
17
# File 'lib/dri/gitlab/issues.rb', line 15

def related_issue_merge_requests(project, id)
  get("/projects/#{url_encode project}/issues/#{id}/related_merge_requests")
end