Skip to main content

Wagtail Ticketmaker

Version: v1.0.0.

Submit support tickets to Jira Service Management from the Wagtail page editor or frontend userbar. Supports Python 3.10+, Django 5.2 and Wagtail 7 or later, without an upper Wagtail version limit. Newer Wagtail releases may require a newer Python version. CI tests the minimum Wagtail series and the latest compatible release. Tickets can include a cropped PNG screenshot. Tickets and screenshots are not stored by this package.

Installation

pip install wagtail-ticketmaker

Add wagtail.contrib.settings and wagtail_ticketmaker to INSTALLED_APPS, then run:

python manage.py migrate

Configuration

Configure each Wagtail site's hostname in Django settings:

import os

WAGTAIL_TICKETMAKER_SITES = {
    "www.example.com": {
        "jira_base_url": "https://support.example.com",
        "service_account_email": "support@example.com",
        "service_desk_id": "4",
        "organisation_customfield_id": "customfield_10002",
        "organisation_id": os.environ["JIRA_ORGANISATION_ID"],
        "reporter_account_id": os.environ["JIRA_REPORTER_ACCOUNT_ID"],
        "api_token": os.environ["JIRA_API_TOKEN"],
        "request_types": [
            {"label": "Support", "request_type_id": "17"},
            {"label": "Feature", "request_type_id": "18"},
        ],
    },
}

Replace example values with the corresponding Jira configuration. All fields above are required. Keep credentials in environment variables. Requests use the fixed reporter account and include the Wagtail user's details in the description.

Priority options are blocker, minor, highest, high, medium, low, lowest, in that order, with medium selected by default. Jira request types must expose Priority and support the corresponding names: Blocker, Minor, Highest, High, Medium, Low and Lowest.

Access and appearance

Assign wagtail_ticketmaker.submit_support_ticket in Settings → Groups to allow ticket submissions. Users also need the usual Wagtail page permissions. Assign wagtail_ticketmaker.change_ticketmakersettings to manage Settings → Ticketmaker settings: texts, visibility and screenshot requirements. The interface follows the Wagtail theme and supports English and Dutch.

For a shared user allowlist, set WAGTAIL_TICKETMAKER_SHARED_ACCESS = True and designate an active Wagtail admin user as TicketAccess.owner through a Django shell. The owner manages membership and site exceptions in Settings → Ticket access.

Development

pip install -e ".[dev]"
ruff check .
ruff format --check .
pytest
node --test tests/test_screenshot.js

License

BSD-3-Clause; see LICENSE. The bundled modern-screenshot renderer is MIT licensed, with its license included alongside the JavaScript bundle.

Metadata

Release files for wagtail-ticketmaker 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-ticketmaker 1.0.1
File Size Uploaded Provenance Actions
wagtail_ticketmaker-1.0.1.tar.gz 47.0 kB Without provenance Details for wagtail_ticketmaker-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-ticketmaker 1.0.1
File Interpreter ABI Platform Actions
wagtail_ticketmaker-1.0.1-py3-none-any.whl Python 3 none any Details for wagtail_ticketmaker-1.0.1-py3-none-any.whl

Total release size: 101.7 kB

Release files / wagtail_ticketmaker-1.0.1.tar.gz

Download URL wagtail_ticketmaker-1.0.1.tar.gz
Size 47.0 kB
Tags Source
SHA-256 checksum
How to use checksums
67d715508b96a24dc126f8683398276e76e61c35e42f714b1818303ebad16b9b
BLAKE2b-256 checksum
How to use checksums
450c0be7daad87961622f07239c5209dbba49175f59b503f42398473a28d1c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / wagtail_ticketmaker-1.0.1-py3-none-any.whl

Download URL wagtail_ticketmaker-1.0.1-py3-none-any.whl
Size 54.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb53a7aa8a8b6a7a7c9298e777b50cddac30315547d39a7c0a5414b0acb3576
BLAKE2b-256 checksum
How to use checksums
860f18aa02574cb2910878402675b38c431dcfaa5bc9aca823c66496eade338f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Security for wagtail-ticketmaker 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page