class Github::Issues
def edit_issue(user_name, repo_name, issue_id, params={})
]
"Label2"
"Label1",
"labels" => [
"milestone" => 1,
"assignee" => "octocat",
"body" => "I'm having a problem with this.",
"title" => "Found a bug",
@github.issues.create_issue 'user-name', 'repo-name', 'issue-id'
@github = Github.new
= Examples
:labels - Optional array of strings - Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty array ([]) to clear all Labels from the Issue.
:milestone - Optional number - Milestone to associate this issue with
:state - Optional string - State of the issue:open or closed
:assignee - Optional string - Login for the user that this issue should be assigned to.
:body - Optional string
:title - Optional string
= Inputs
Edit an issue
def edit_issue(user_name, repo_name, issue_id, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless user? && repo? _validate_presence_of issue_id _normalize_params_keys(params) _filter_params_keys(VALID_MILESTONE_INPUTS, params) patch("/repos/#{user}/#{repo}/issues/#{issue_id}", params) end