MCPcopy Index your code
hub / github.com/github-tools/github / createIssue

Method createIssue

lib/Issue.js:32–34  ·  view source on GitHub ↗

* Create a new issue * @see https://developer.github.com/v3/issues/#create-an-issue * @param {Object} issueData - the issue to create * @param {Requestable.callback} [cb] - will receive the created issue * @return {Promise} - the promise for the http request

(issueData, cb)

Source from the content-addressed store, hash-verified

30 * @return {Promise} - the promise for the http request
31 */
32 createIssue(issueData, cb) {
33 return this._request('POST', `/repos/${this.__repository}/issues`, issueData, cb);
34 }
35
36 /**
37 * List the issues for the repository

Callers 1

issue.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected