# Functions
AddAssigneeIfNotAssigned adds an assignee only if he isn't already assigned to the issue.
AddLabel adds a new label to the issue.
AddLabels adds a list of new labels to the issue.
CanDoerChangeReviewRequests returns if the doer can add/remove review requests of a PR.
ChangeContent changes issue content, as the given user.
ChangeIssueRef changes the branch of this issue, as the given user.
ChangeMilestoneAssign changes assignment of milestone for issue.
ChangeStatus changes issue status to open or closed.
ChangeTimeEstimate changes the time estimate of this issue, as the given user.
ChangeTitle changes the title of this issue, as the given user.
ClearLabels clears all of an issue's labels.
CreateCommentReaction creates a reaction on a comment.
CreateIssueComment creates a plain issue comment.
CreateIssueReaction creates a reaction on an issue.
CreateRefComment creates a commit reference comment to issue.
DeleteComment deletes the comment.
DeleteIssue deletes an issue.
DeleteNotPassedAssignee deletes all assignees who aren't passed via the "assignees" array.
GetRefEndNamesAndURLs retrieves the ref end names (e.g.
GetTemplateConfig loads the given issue config file.
GetTemplateConfigFromDefaultBranch returns the issue config for this repo.
IsTemplateConfig returns if the given path is a issue config file.
NewIssue creates new issue with labels for repository.
ParseTemplatesFromDefaultBranch parses the issue templates in the repo's default branch, returns valid templates and the errors of invalid template files (the errors map is guaranteed to be non-nil).
RemoveLabel removes a label from issue by given ID.
ReplaceLabels removes all current labels and add new labels to the issue.
ReviewRequest add or remove a review request from a user for this PR, and make comment for it.
TeamReviewRequest add or remove a review request from a team for this PR, and make comment for it.
ToggleAssigneeWithNoNotify changes a user between assigned and not assigned for this issue, and make issue comment for it.
UpdateAssignees is a helper function to add or delete one or multiple issue assignee(s) Deleting is done the GitHub way (quote from their api documentation): https://developer.github.com/v3/issues/#edit-an-issue "assignees" (array): Logins for Users to assign to this issue.
UpdateComment updates information of comment.
UpdateIssuesCommit checks if issues are manipulated by commit message.