Modify

Opened 5 years ago

Last modified 5 years ago

#344 assigned enhancement

Allow use of inline-properties to identify the source of a ticket comment

Reported by: Geraint Hywel <0c9876c7@…> Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 2.8.4
Keywords: Cc:

Description

Unfortunately, users sometimes email issues directly to developers.

The developers can forward these to requests to Trac, and use the @reporter in-line property to make sure that the issue is properly attributed to the original reporter.

Equally unfortunately, users sometimes send emails about existing issues directly to developers without Cc'ing Trac.

Again, the developers can forward these emails to Trac, but there appears to be no in-line property that we can use to tell email2trac that the comment should be attributed to the original commenter.

AFAICT, in-line properties only work for ticket properties, and not for comments, as is documented.

Developers are unable to change the 'From' property in their email clients, for security reasons.

Attachments (0)

Change History (2)

comment:1 follow-up: Changed 5 years ago by bas

  • Status changed from new to assigned

For update the From address of the message is use to determine the author and there is no inline property to override it, maybe:

  • @from_address or @author is a good one

comment:2 in reply to: ↑ 1 Changed 5 years ago by Geraint Hywel <0c9876c7@…>

Replying to bas:

  • @from_address or @author is a good one

@author is consistent with the underlying database:

sqlite> .schema ticket_change
CREATE TABLE ticket_change (
    ticket integer,
    time integer,
    author text,
    field text,
    oldvalue text,
    newvalue text,
    UNIQUE (ticket,time,field)
);

OTOH, in contrast to my colleagues, I do have the ability to change the From: address of my outgoing emails, and when I'm forwarding emails to Trac, this is what I do. Consequently, using @from_address would be consistent with my current practice, and makes a lot of sense.

I suppose it depends on whether you want to be semantically consistent with the database or with email. Maybe you could support both...?

If you do go with email semantics, then I suggest the terser and easier-to-type @from, in preference to @from_address.

Add Comment

Modify Ticket

Change Properties
Action
as assigned The owner will remain bas.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bas to the specified user. Next status will be 'new'.
Author


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

 
Note: See TracTickets for help on using tickets.