PyOTRS

Free

Python library for interacting with OTRS, Znuny, and OTOBO via the GenericInterface REST API, including OTRS 8 support.

PyOTRS is a comprehensive Python wrapper for the OTRS, Znuny, and OTOBO REST API. The library allows developers to easily automate ticket workflows, such as creating tickets with attachments, searching based on specific criteria, or updating dynamic fields. A key feature is the support for the AccessToken method introduced in OTRS 8, with an automatic fallback to the legacy SessionID method when necessary. It is ideally suited for integrations, migration scripts, or monitoring connections.

Features

  • Ticket Management

    Create, update, search, and retrieve tickets including articles and dynamic fields.

  • Session & AccessToken Support

    Automatic session management supporting both legacy SessionID and OTRS 8 AccessTokens.

  • CLI Tool

    Provides a command-line tool for quick interactions with the ticket system directly from the terminal.

Related packages