Github.reopenIssue()

Reopen an issue on GitHub.

The issue with the specified issue number, within the specified owner and repository will be reopened if it is closed.

Usage

Hover over inputs/exits for more info.

var Github = require('machinepack-github');


// Reopen an issue on GitHub.

Github.reopenIssue({

repo: 'sails',

owner: 'balderdashy',

issueNumber: 237,

: ,

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

repo required

The name of the Github repo (i.e. as it appears in the URL on GitHub)

'sails'
owner required

The name of the organization or user that owns the repo (i.e. as it appears in the URL on GitHub)

'balderdashy'
issueNumber required

The issue number of the issue to close.

237
undefined

Exits

error

An unexpected error occurred.

success

OK.