gitlab-create-issue
Creates gitlab issues with the given payload
Why gitlab-create-issue?
The gitlab API requires the project ID to be given as payload to create an issue. This module finds the project ID from the project and namespace.
Install
npm install --save gitlab-create-issue
Payload
1) mandatoryPayload
namespace: 'argonlaser' project: 'gitlab-create-issue-test' privateToken: 'xxxxxxx' title: 'TITLE'
2) optionalPayload
description: 'create issue' assigneeName: 'argonlaser' or assigneeId: '111111' labels: 'AAA' 'BBB' dueDate: 'YYYY-MM-DD'
Usage
var createIssue = var mandatoryPayload = namespace: 'argonlaser' project: 'gitlab-create-issue-test' privateToken: processenvprivateToken title: 'Title' var optionalPayload = assigneeName: 'argonlaser' dueDate: '2018-11-11'