Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 721 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 721 Bytes

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