TracTicketReferencePlugin 0.5.2
Provides support for ticket cross reference for Trac
License: Apache License 2.0
Keywords: trac, plugin, ticket, cross-reference

Notes
=====

`TracTicketReferencePlugin`_ adds simple ticket cross-reference for Trac.

Note: TracTicketReference requires Trac 0.12 or higher.

.. _TracTicketReferencePlugin: http://trac-hacks.org/wiki/TracTicketReferencePlugin

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`_.

.. _Localization (L10N) of Trac: http://trac.edgewall.org/wiki/TracL10N

Acknowledgment
==============

This plugin was inspired by `MasterTicketsPlugin`_.

.. _MasterTicketsPlugin: http://trac-hacks.org/wiki/MasterTicketsPlugin



ChangeLog
=========

0.5.2 (2024-09-06)
------------------

* Make compatible with Trac 1.4 and 1.6

0.5.1 (2018-04-24)
------------------

* fix compatibility with Trac 1.2

0.5.0 (2015-12-20)
------------------

* update to support Trac 1.1+ with new database api
* drop to support Python 2.4, 2.5

0.4.0 (2014-04-22)
------------------

* change to use CommitTicketUpdater to parse comment for ticket reference

0.3.2 (2014-02-26)
------------------

* fix to show ticket id even if ticket is not found, related to 0f5a0796ca99

0.3.1 (2014-02-26)
------------------

* fix to show diff link even if no difference about ticket ids

0.3.0 (2014-02-25)
------------------

* change to show the difference ticket id in other comment for relationships

0.2.9 (2014-02-21)
------------------

* fix to enable the ticket referenct link in the newticket page

0.2.8 (2014-02-20)
------------------

* fix to use jquery.live for the event handler, thanks to saitou-san

0.2.7 (2014-02-20)
------------------

* fix to enable the ticket referenct link in the preview page (trac 1.0.x)
* refactoring

0.2.6 (2013-02-27)
------------------

* fix to check 'all_columns' is exist in data dictionary related to #3

0.2.5 (2013-02-26)
------------------

* fix to be able to select a column or a row in query-result page
  (see also #3)

0.2.4 (2012-09-20)
------------------

* fix to avoid SQL injection attacks (see also #2)

0.2.3 (2012-03-25)
------------------

* fix to show warnings when the relationships field is updated
  at the same time (see also #1)
* fix to save proper oldvalue/newvalue when the relationships field
  is updated
* add unit test

0.2.2 (2012-01-30)
------------------

* add "cc" to make the new ticket with relationships
* fix bugs (pick up ticket id in comment, avoid own ticket id)

0.2.1 (2012-01-22)
------------------

* support whitespace as separator for describing relationships
* fix bugs (non integer validation, show the relationships field in query)

0.2.0 (2012-01-20)
------------------

* create new ticket with related ticket's field value
* picking up the referred ticket in comment
* i18n/l10n support

0.1.0 (2012-01-15)
------------------
* first release