wiki:TicketToTracScript

Version 5 (modified by Ryan J Ollos, 9 years ago) (diff)

New style markup.

Create tickets from the command line

Description

The ticket2trac script is a basic tool which allows one to create trac tickets from the command line or within another python script. It supports all basic ticket fields, and aside from the ticket summary (which is required by trac), all fields which are not given will be filled in with the default values for the site. These values are specified in the trac.ini field or may be configured in the trac's Admin page.

ticket2trac has only been tested under trac 0.11, but it should work in any version of trac.

Bugs/Feature Requests

Existing bugs and feature requests for TicketToTracScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:tickettotracscript here].

Source

You can check out TicketToTracScript from here using Subversion, or browse the source with Trac.

Example

Usage:

ticket2trac.py [options] /path/to/trac/installation 'Ticket summary'

For a full list of command line options, simply run:

ticket2trac.py --help

Recent Changes

16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
14870 by rjollos on 2015-08-10 21:38:16
Untested patch from sec.kompetenzz.net.

Support adding copy-recipients and sending trac-notifications

14869 by rjollos on 2015-08-10 21:35:10
Renamed directory since plugin was developed for Trac 0.11.
(more)

Author/Contributors

Author: singbox
Maintainer: Singbox AB
Contributors: As file attachments don't work here, we provide a patch aganst version 0.9 to support adding copy-recipients and sending trac-notifications. Look at https://sec.kompetenzz.net/trac/wiki/Public/TicketToTracScriptEnhancement