Version 9 (modified by t2y, 3 years ago) (diff)

changed to use CommitTicketUpdater as a parser function

Add support for simple ticket cross-reference to Trac


TracTicketReferencePlugin requires Trac 0.12 or higher.

  • it works for 1.0

What is it?

This plugin adds "Relationships" fields to each ticket, enabling you to express cross-reference between tickets.


  • Provide simple cross-reference as Trac custom field (ticketref)
  • Create new ticket with related ticket's field value
  • Picking up the referred ticket in comment


To enable the plugin

ticketref.* = enabled

ticketref = textarea
ticketref.label = Relationships
ticketref.cols = 68
ticketref.rows = 1

If you want to show more small field, change as follows

ticketref = text
ticketref.label = Relationships

Since 0.4.0, configure reference keywords for CommitTicketUpdater to get ticket reference like this. Note both close and refs keywords are used.

commit_ticket_update_commands.close = fix fixed fixes
commit_ticket_update_commands.refs = ref refs refer

i18n/l10n Support

This plugin is able to localize field label or message. You can translate into your language using "ticketref/locale/messages.pot".

And then, I'm willing to merge your contribution into the distribution. So, let me know if you localized "ticketref/locale/messages.pot".

See also Localization (L10N) of Trac


New Ticket with Relationships

New Ticket with Relationships

Query Result with Relationships

Query Result with Relationships

Pick up "ref* #id" in comment as cross-reference

Picking up the referred ticket in comment

Clicking "Relationships" label displays the id with summary

Relationships field with verbose information

Bugs/Feature Requests

Existing bugs and feature requests for TracTicketReferencePlugin are here.

If you have any issues, create a new ticket.


Download the archived source from here.


You can clone TracTicketReferencePlugin from here using Mercurial, or browse the source.


This plugin was inspired by MasterTicketsPlugin

Recent Changes



Author: t2y
Maintainer: t2y

Attachments (4)

Download all attachments as: .zip