Backlinks for tickets in comment history


This plugin automatically creates intra-Trac references between tickets. Example: when a comment on ticket A references ticket B, a comment is made on ticket B letting you know that ticket A has referenced it.

Adding the following comment in ticket A (in casu 39):

Results in the following trackback in ticket B (in casu 67):

Note: This plugin will not retroactively create trackbacks for existing comments.

Usage scenario

If developer A is working on ticket 1 and developer B is working on ticket 2 and writes some notes (on ticket 2) how it's related to ticket 1, it automatically makes a (ticket-2)-to-(ticket 1) link that's easy to follow to get more details. So far so good. However, developer A has no idea her ticket has just been discussed on ticket 2, and tinkers on blithely unaware of what is going on around her, because there is no reciprocal (ticket 1)-to-(ticket 2) link.

How can we automatically indicate that tickets are being discussed at other tickets? This plugin creates that reciprocal (ticket 1)-to-(ticket 2) link so that anyone looking at ticket 1 can see it has been talked about on ticket 2 as well.

See also: BackLinksMacro, TracBackLinkPlugin

Bugs/Feature Requests

Existing bugs and feature requests for TracBacksPlugin are here.

If you have any issues, create a new ticket.


10 / 14


2 / 8


4 / 5

Download and Source

Download the zipped source from here.


Check out TracBacksPlugin using Subversion from here or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

18131 by Cinc-th on 2021-04-01 17:28:12
TracBacksPlugin: fix for Trac 1.5. Bumped version to 0.3.0.
17657 by rjollos on 2020-01-11 08:11:46
TracBacks 0.2dev: Make compatible with Trac 1.4+

Fixes #13728.

17656 by rjollos on 2020-01-11 08:07:50
Conform to PEP8


Author: mchua
Maintainer: ejucovy
Contributors: tcoulter (original proposer), Doug Mayle, magicbronson, k0s, rjollos

Originally written at The Open Planning Project.

Last modified 6 years ago Last modified on May 12, 2018, 9:25:27 AM

Attachments (2)

Download all attachments as: .zip