Skip to main content

TrackerAsisst is a Python library for interacting with Request Tracker's REST API 2.0 (pre-installed as of RT 5.0.0).

Project description

TrackerAssist

TrackerAsisst is a Python library for interacting with Request Tracker's REST API 2.0 (pre-installed as of RT 5.0.0).

Supported Actions

Tickets

  • Create new tickets
  • Update existing ticket
  • Comment on an existing ticket
  • Delete existing ticket
  • View a ticket's metadata
  • Retrieve a ticket's history

Queues

  • Create new queues
  • Update existing queue's metadata
  • View an existing queue's details
  • Disable an existing queue

Search

  • Search tickets using Ticket SQL

Assets

  • Create a new asset
  • Update an existing asset's metadata
  • View an asset's details
  • Delete an existing asset

Installation

pip install TrackerAssist

Usage

from TrackerAssist.tracker_assist import RTClient

# Instantiate your client
rt_client = RTClient('127.0.0.1:8000', 'secret_token', verify_cert=False)

# Get the details for a single ticket
ticket = rt_client.get_ticket(9882)

# Update an existing ticket
rt_client.update_ticket(9882, Subject='Test Ticket', custom_fields={CF.{URL}: 'http://github.com'})

# Search for existing tickets
ticket_sql = "Queue = 'General'"
tickets = rt_client.raw_search(ticket_sql)

License

Gnu GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TrackerAssist-0.1.3.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file TrackerAssist-0.1.3.tar.gz.

File metadata

  • Download URL: TrackerAssist-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for TrackerAssist-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b46e85f80c781552e4f6faecd25ca13dfcea3a13ae5649c20285acc6f69f8d54
MD5 2f65fba27bc2eb2aa015034f993de260
BLAKE2b-256 5634efe51cb37672b1ce741ca326789763fa91f18426560fc04bfe85c21f673b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page