Method: Gitlab::Client::IssueLinks#issue_links

Defined in:
lib/gitlab/client/issue_links.rb

Gets a list of links for a issue.

Examples:

Gitlab.issue_links(5, 10)

Parameters:

  • project (Integer)

    The ID of a project.

  • issue (Integer)

    The ID of an issue.

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :page (Integer)

    The page number.

  • :per_page (Integer)

    The number of results per page.

Returns:


17
18
19
# File 'lib/gitlab/client/issue_links.rb', line 17

def issue_links(project, issue, options = {})
  get("/projects/#{url_encode project}/issues/#{issue}/links", query: options)
end