Opened 15 years ago

Closed 15 years ago

#66 closed enhancement (fixed)

Setting ticket fields during ticket creation

Reported by: pawel.pruszkowski@… Owned by: anonymous
Priority: major Milestone:
Component: email2trac Version: 0.3
Keywords: Cc: pawel.pruszkowski@…



There is a possibility to set some ticket fields when updating the ticket. It is done by creating a proper email subject, for example:
"[project] #1234?component=test,milestone=1.0 Ticket summary"

What I would like to have is doing the same thing during ticket creation. It could work like this: last line (or each line) of description could be checked for certain characters. For example, line like this:

trac: component=test,milestone=1.0

would set fields component and milestone to proper values. Of course the line itself should not appear in ticket's description. I tried to implement this myself, but I don't know neither Python nor Trac architecture well enough to do this.

Please tell me if implementing such new feature is possible and if it is, when it will be available. Thanks!

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by anonymous

  • Owner changed from bas to anonymous
  • Status changed from new to assigned

It is not possible at this moment. You can have several email address to the same database with different default values. This is not exactly what you want! (Email2tracConfiguration#Defaultvaluesforticketfields)

oke you have to parse the description text and with a regular expression you search for the proper line.

comment:2 Changed 15 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

no response

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain anonymous.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.