wiki:TracTicketReferencePlugin

Add support for Trac ticket cross-reference

Notice: This plugin is unmaintained and available for adoption.

Description

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.

Key features:

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

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

This plugin was inspired by MasterTicketsPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for TracTicketReferencePlugin are here.

If you have any issues, create a new ticket.

defect

4 / 4

enhancement

2 / 2

Download

Download the zipped source from here.

The plugin is also available on PyPI.

Source

You can check out TracTicketReferencePlugin from here using Subversion, or browse the source with Trac.

Installation

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

Configuration

To enable and configure the plugin, add the following to your trac.ini file:

[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 close and refs keywords are used:

[ticket]
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.

Recent Changes

18656 by jun66j5 on 2024-09-06 17:47:54
TracTicketReferencePlugin: add MANIFEST.in file for sdist
18655 by jun66j5 on 2024-09-06 07:23:21
TracTicketReferencePlugin: add 0.5.2 entry to changelog
18618 by jun66j5 on 2024-01-22 13:17:44
TracTicketReferencePlugin: fix missing import for reduce (refs #14274)
(more)

Author/Contributors

Author: t2y
Maintainer: none (needsadoption)
Contributors:

Last modified 4 years ago Last modified on Dec 21, 2020, 5:43:02 PM

Attachments (4)

Download all attachments as: .zip