create jira issue tickets - using the REST API 2
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
index.js
package.json
renovate.json
yarn.lock

README.md

create-jira-ticket-api

create jira issue tickets - using the REST API 2 - within node

Installing

Using npm:

$ npm install create-jira-ticket-api --save
var jira = require('create-jira-ticket-api');

Example

var jira = require('create-jira-ticket-api');

var options = {
	config: {
		"host": "your jira host",
		"username": "your jira username",
		"password": "your jira password",
		"datatype": "json"
	},
	data: {
		"fields": {
			"project": {
				"key": "project key"
			},
			"summary": "your summary",
			"description": "your description",
			"issuetype": {
				"name": "your issuetype"
			},
			"priority": {
				"name": "Minor"
			}
		}
	}
}

jira.post(options, function(response) {
	//
});

License

MIT