module Gitlab::Client::Issues

def edit_issue(project, id, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) - Information about updated issue.

Options Hash: (**options)
  • :state_event (String) -- The state event of an issue ('close' or 'reopen').
  • :labels (String) -- Comma-separated label names for an issue.
  • :milestone_id (Integer) -- The ID of a milestone to assign issue.
  • :assignee_id (Integer) -- The ID of a user to assign issue.
  • :description (String) -- The description of an issue.
  • :title (String) -- The title of an issue.

Parameters:
  • options (Hash) -- A customizable set of options.
  • id (Integer) -- The ID of an issue.
  • project (Integer, String) -- The ID or name of a project.
def edit_issue(project, id, options = {})
  put("/projects/#{url_encode project}/issues/#{id}", body: options)
end