Skip to main content

Provides support for ticket cross reference for Trac

Project description

Notes

TracTicketReferencePlugin adds simple ticket cross-reference for Trac.

Note: TracTicketReference 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.

Acknowledgment

This plugin was inspired by 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracticketreferenceplugin-0.5.2.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

TracTicketReferencePlugin-0.5.2-py2.py3-none-any.whl (17.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tracticketreferenceplugin-0.5.2.tar.gz.

File metadata

File hashes

Hashes for tracticketreferenceplugin-0.5.2.tar.gz
Algorithm Hash digest
SHA256 be0d14ed5298f7affcf3622b7e58ba36d49a517a2262e056fecebfb11a818fb2
MD5 a042feccacf7eb0aabb05cdf2feb5332
BLAKE2b-256 82802ed4376c9da528af981ab5f21f9db6a272ce2663aeaef821496f5b01f403

See more details on using hashes here.

File details

Details for the file TracTicketReferencePlugin-0.5.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for TracTicketReferencePlugin-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aaccc4c6dd62d074c02bc40bf28775a54ae7650b1b933fe7362d1f03079482f1
MD5 43f6481b34728a6b79d12b5f92b591c7
BLAKE2b-256 e44ba73a7ad803f51e8204b097366cab56c69ea7c184d21bb330e9fbb770dcf5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page