bestpractical-rt

1.0.1 • Public • Published

bestpractical-rt

This package allows you to communicate with Best Practical's Request Tracker via their REST API documented here.

Install

Install from GitHub.

$ npm install git://github.com/benedicteb/bestpractical-rt.git

Usage

const RT = require('bestpractical-rt');
const rt = new RT('username', 'password', 'https://rt.yourserver.com');
 
rt.search("Queue = 'something' AND Status = 'new'", function(result) {
  console.log(result);
})
 
rt.ticketProperties(123, function(result) {
  console.log(result);
})
 
rt.ticketHistory(123, function(result) {
  console.log(result);
})
 
rt.ticketHistoryEntry(ticketId, historyElementId, function(result) {
  console.log(result);
});

Readme

Keywords

none

Package Sidebar

Install

npm i bestpractical-rt

Weekly Downloads

3

Version

1.0.1

License

none

Last publish

Collaborators

  • beb