Modify

Opened 13 years ago

#10069 new enhancement

Add function to load user template via url parameter

Reported by: memartin Owned by: Richard Liao
Priority: normal Component: TracTicketTemplatePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I like to be able to put links to create new tickets on certain (private) wiki pages. It would be great if I could add a GET parameter to that link to choose directly my template that should be used.

Examples:

  • Link to create new Ticket from My Template "Template1"
    http://trac.local/newticket?template=Template1
    
  • Link to create new Ticket from user template with characters to be encoded in its name ("My Template l")
    http://trac.local/newticket?template=My%20Template%201
    
  • Link to create new Ticket from My Template, using other (template) parameters
    http://trac.local/newticket?template=Template1&my_param=anything&owner=myname
    

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Richard Liao.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.