Search code examples
trac

Edgewall Trac: retrospectives of notifications


Hello,

is it possible at all to include not only the status and most recent comment in messages sent on ticket creation and ticket changes? I'd like to see much more, say all available retrospective information, that is the entire Change history.

Maybe someone already configured Trac this way. If so, I'd be very grateful for information about that configuration, including the Trac version used with that application.

Cheers, Thx


Solution

  • Trac has change listener interfaces for binding modules to act on changes, i.e. notify on ticket change. See the Trac wiki documentation for descriptions of the I***ChangeListener extension points available by now.

    But you'll notice, that the data provided by these interfaces provide only limited information about the changed resource, such as ID and the changed/old vs. new values. So your request can't be solved at all by configuration alone.

    While it might be possible to do more complete notification by coding look-ups for additional data in the Trac db, even this isn't possible under all circumstances. Think i.e. about ticket deletion, where everything already has gone when the change listeners are fired with the pre-defined information.