0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Tools for FINNs ZenDesk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
>= 0
>= 0
 Project Readme

ZendeskTools

Tools to automate common tasks in ZenDesk.

Installation

Install the gem:

$ gem install zendesk-tools

Usage

Add a JSON config to ~/.zendesk-tools.json (TODO: make command line ovveride):

{

    // mandatory
    "username": "user@example.com",
    "token": "your_token_here",
    "url": "https://your_domain.zendesk.com/api/v2",

    //include at least one cause
    "delete_causes": ["cause1", "cause2"],
    "delete_subjects": ["subject1", "subject2"],
    "recover_causes": ["cause1", "cause2"],

    // optional
   "log_level": "debug",
   "log_file": "/some/path"
}

Clean suspended tickets:

$ zendesk-tools clean-suspended

Upload files to ticket:

$ zendesk-tools upload-files-to-ticket <ticket_id> <files>

Recover suspended tickets:

$ zendesk-tools recover-suspended