Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#1883 closed task (wontfix)

Program to create new ticket over the web using HTTP POST

Reported by: chris.shenton@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.8.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I need a program to create new tickets over the web, so I wrote one which uses HTTP POST like Trac itself does. It gets its arguments from the command line, or "description" may come from stdin. It's in python.

Attachments (3)

newticket-inject.py (4.0 KB ) - added by chris.shenton@… 19 years ago.
Python program to inject tickets via HTTP POST
trac_poster.rb (3.5 KB ) - added by jim@… 19 years ago.
Ruby equivalent
trac_poster.2.rb (3.7 KB ) - added by jim@… 19 years ago.
Ruby equivalent

Download all attachments as: .zip

Change History (8)

by chris.shenton@…, 19 years ago

Attachment: newticket-inject.py added

Python program to inject tickets via HTTP POST

comment:1 by anonymous, 19 years ago

This can be used for migrating tickets from another ticket system, or could be used by an automated test framework to create tickets when the tests fail.

by jim@…, 19 years ago

Attachment: trac_poster.rb added

Ruby equivalent

by jim@…, 19 years ago

Attachment: trac_poster.2.rb added

Ruby equivalent

comment:2 by jim@…, 19 years ago

Make sure to use the second version; it leaves out description. I have no ability to delete that attachment.

comment:3 by dserodio@…, 19 years ago

I think this script would be a nice addition to the contrib directory in the distribution.

comment:4 by Matthew Good, 18 years ago

Resolution: wontfix
Status: newclosed

Trac Hacks has a section for scripts where this could be contributed. You may want to look at the XML-RPC plugin there for another way to submit tickets.

comment:5 by anonymous, 18 years ago

Type: enhancementtask

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.