Contents
Add support for ticket dependencies to Trac
Description
What is it?
This plugin adds "blocks" and "blocked by" fields to each ticket, enabling you to express dependencies between tickets. It also provides a graphviz-based dependency-graph feature for those tickets having dependencies specified, allowing you to visually understand the dependency tree. The dependency graph is viewable by clicking 'depgraph' in the context (in the upper right corner) menu when viewing a ticket that blocks or is blocked by another ticket.
This plugin works on Trac 1.0+. The plugin also works on Trac 0.11 and 0.12, but is no longer maintained.
Shown in the image above is the following:
- "Depgraph" link at ticket #62 on middle top, yellow bullet.
Blocksandblocked byextra fields at ticket #62.- Graphical representation and deeper relation to other tickets on the right.
- Ticket statuses explanation in the lower left corner.
What is it not?
- It does not provide ticket-hiding for sub-tasks of a top-level ticket.
- There is no parent/child relationship possible, though this is now on the roadmap for an upcoming release, see #10964.
- You cannot view the descriptions of tickets depending on the current ticket.
- In fact, there are no explicit features that can assist you with sub-task management.
- It does not allow you to create a dependent ticket from the current ticket.
- It does not include reporting features to show how tasks are interrelated, other than the dependency graph already described above.
Just put the ticket numbers that a given ticket is blocking in the Blocking field. Enter just the number, no leading #. Separate multiple numbers with commas.
Make sure you add the custom fields as shown below.
To use the dependency graphs you need to install Graphviz (released under Common Public License), and which can be installed from PyPi. You do not need the GraphvizPlugin or anything else beyond the dot binary.
See also DepgraphSidebarPlugin, TracTicketDepgraphPlugin.
Bugs/Feature Requests
Existing bugs and feature requests for MasterTicketsPlugin are here.
If you have any issues, create a new ticket.
| defect |
125 / 138 |
||
|---|---|---|---|
| enhancement |
22 / 42 |
||
| task |
5 / 5 |
Download
Download the latest revision from here.
The plugin is also available on PyPi.
Source
You can check out MasterTicketsPlugin from here using Subversion, or browse the source with Trac.
Installation
The easiest way to install this plugin is by using pip install:
For Trac 1.6 or later
$ pip install svn+https://trac-hacks.org/svn/masterticketsplugin/trunk/
For Trac 1.0.x - 1.4.x
$ pip install svn+https://trac-hacks.org/svn/masterticketsplugin/branches/1.0/
Configuration
To enable, add the following to your trac.ini file:
[components] mastertickets.* = enabled
To configure the plugin to use a graphviz/dot installation that is at another location, add the following to your trac.ini file:
[mastertickets] dot_path = /opt/local/bin/dot
The documentation for other configuration options can be reviewed in the [mastertickets] section of TracIni.
Upgrade your installation
After installing or enabling this plugin, a new table is added to the database and Trac will need to be upgraded. Therefore run the following:
$ trac-admin /path/to/env upgrade
Recent Changes
- 18713 by jun66j5 on 2025-12-18 07:23:47
-
TracMasterTickets: Create branches/1.0 for Trac 1.0.x - 1.4.x
- 18712 by jun66j5 on 2025-12-18 02:23:08
-
TracMasterTickets 5.0.0dev: Support Trac 1.6 on Python 3 and drop Python 2 (closes #14336)
Initial patch by Niels Sascha Reedijk.
- 18711 by jun66j5 on 2025-12-18 01:33:49
-
TracMasterTickets 4.0.5dev: Add
python_requires>=2.7,<3to setup.py
(more)
Author/Contributors
Author: coderanger
Maintainer: Ryan J Ollos
Contributors: mitar



