Modify

Opened 3 years ago

Last modified 2 years ago

#9536 new defect

ReplyToTicket fails to recognize replies to tickets if trac.ini contains a custom ticket_subject_template

Reported by: zitune Owned by: zitune
Priority: normal Component: MailToTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

ReplyToTicket fails to recognize replies to tickets if trac.ini contains a custom ticket_subject_template with a variable other than $prefix, $ticket.id and $summary.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Floris Lambrechts

This is my custom mail title template:

ticket_subject_template = $prefix [$ticket.project] #$ticket.id: $summary

'ticket.project' is a custom field defined in trac.ini section [ticket-custom].

Note that this issue probably is no longer applicable with the latest release of mail2trac (currently trying to get it installed, see #9527).

comment:2 Changed 2 years ago by anonymous

Hi,

I have recently implemented the mail2trac functionality into our system and it's working perfectly. But the only issue is that custom ticket fields are not recognized by the plugin to be valid. i.e. I cannot use custom ticket fields as #field when creating/modifying the ticket.

I am currently using it like this: -

Subject: create: new test mail
Body: "Hello this is a test mail"
#owner: john
#priority: low
#group: group_name
#end

Here group is the name of my custom ticket field. Am I using the syntax wrong or is this functionality not implemented yet?

I guess it is the same issue as above, please correct me if I am wrong.

Thanks.

Add Comment

Modify Ticket

Action
as new The owner will remain zitune.
Author


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

 
Note: See TracTickets for help on using tickets.