Add support for Trac ticket cross-reference
This plugin adds "Relationships" fields to each ticket, enabling you to express cross-references between tickets. This plugin requires Trac 0.12 or higher. Also tested on Trac 1.0.
- Provide simple cross-reference as Trac custom field, called
- Create new ticket with related ticket's field value.
- Picking up the referred ticket in comment.
New Ticket with Relationships:
Query Result with Relationships:
Pick up "ref* #id" in comment as cross-reference:
Clicking "Relationships" label displays the id with summary:
This plugin was inspired by MasterTicketsPlugin.
If you have any issues, create a new ticket.
Download the archived source from here.
To enable and configure the plugin, add the following to your
[components] ticketref.* = enabled [ticket-custom] ticketref = textarea ticketref.label = Relationships ticketref.cols = 68 ticketref.rows = 1
If you want to show more small field, change as follows:
[ticket-custom] ticketref = text ticketref.label = Relationships
Since 0.4.0, configure reference keywords for CommitTicketUpdater to get ticket reference like this. Note both
refs keywords are used:
[ticket] commit_ticket_update_commands.close = fix fixed fixes commit_ticket_update_commands.refs = ref refs refer
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.
ticketref_new.png (62.8 KB) - added by 5 years ago.
New Ticket with Relationships
ticketref_query.png (44.4 KB) - added by 5 years ago.
Query Result with Relationships
ticketref_pickup_id.png (39.2 KB) - added by 5 years ago.
Picking up the referred ticket in comment
ticketref_verbose_info.png (50.6 KB) - added by 5 years ago.
Relationships field with verbose information
Download all attachments as: .zip