Welcome to ticketutil’s documentation!¶
ticketutil is a Python module that allows you to easily interact with
various ticketing tools using their REST APIs. Currently, the supported
All tools support HTTP Basic authentication, while JIRA and RT also support Kerberos
This module allows you to create tickets, add comments, edit ticket fields, and change the status of tickets in each tool. Additional lower-level tool-specific functions are supported - adding and removing watchers in JIRA, adding attachments in JIRA, etc.
Simplify all of your ticketing operations with ticketutil:
from ticketutil.jira import JiraTicket ticket = JiraTicket(<jira_url>, <project_key>, auth='kerberos') # Create a ticket and perform some common ticketing operations. t = ticket.create(summary='Ticket summary', description='Ticket description') t = ticket.add_comment('Test Comment') t = ticket.change_status('Done') # Check status of previous ticketing operation and print URL of ticket. print(t.status) print(t.url) # Close Requests session. ticket.close_requests_session()