wiki:TracTicketReferencePlugin

Version 5 (modified by Ryan J Ollos, 11 years ago) (diff)

Added syntax highlighting.

Add support for simple ticket cross-reference to Trac

Notice: This plugin is unmaintained and available for adoption.

Description

Note: TracTicketReferencePlugin requires Trac 0.12 or higher.

What is it?

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

Features

  • 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

Configuration

To enable the plugin

[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

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

Example

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

Download the archived source from here.

Source

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

Acknowledgment

This plugin was inspired by MasterTicketsPlugin

Recent Changes

18618 by jun66j5 on 2024-01-22 13:17:44
TracTicketReferencePlugin: fix missing import for reduce (refs #14274)
18617 by jun66j5 on 2024-01-20 03:22:45
TracTicketReferencePlugin: modify Python in the classifiers with 2.7 and 3, and enable [bdist_wheel] universal option (refs #14274)
18616 by jun66j5 on 2024-01-20 03:18:44
TracTicketReferencePlugin: make compatible with Trac 1.6 (closes #14274)
(more)

Author/Contributors

Author: t2y
Maintainer: t2y
Contributors:

Attachments (4)

Download all attachments as: .zip