Skip to content

nodejs library for Best Practical's Request Tracker (RT)

License

Notifications You must be signed in to change notification settings

benedicteb/bestpractical-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
});

About

nodejs library for Best Practical's Request Tracker (RT)

Resources

License

Stars

Watchers

Forks

Packages

No packages published