Skip to content

PTFS-Europe/rt-data-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RT Data Parser

Fetch data from RT using REST 2 and parse it into a .csv file

demo

Installation

yarn install

CLI Usage

node rt_data_parser.js -u ${RT_USER} -o ${CSV_OUTPUT_FILE} -h ${RT_HOST} -i ${TICKET_ID} -n ${NUMBER}

Example

Parse ticket #49504 and 20 tickets below that, down to ticket #49484

node rt_data_parser.js -u user -o data.csv -h https://helpdesk.yoursite.com -i 49504 -n 20

Error logging

Errors with ticket/transaction information are logged to ./error.log

Tests

npm test

About

Script to export data from RT using its REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published