Method: Gitlab::Client::Notes#issue_notes

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

#issue_notes(project, issue, options = {}) ⇒ Array<Gitlab::ObjectifiedHash>

Gets a list of notes for a issue.

Examples:

Gitlab.issue_notes(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:

[View source]

30
31
32
# File 'lib/gitlab/client/notes.rb', line 30

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