Version 9 (modified by anonymous, 9 years ago) (diff)


Add support for ticket dependencies to Trac


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.

This plugin works well on Trac !0.11.

What is it not?

It is NOT a plugin for Trac !0.10, as explained below.

This plugin does not provide ticket-hiding for sub-tasks of a top-level ticket. It does not allow you to create a dependent ticket from the current ticket, and it does not include reporting features to show how tasks are interrelated (other than the dependency graph already described above).

NOTE: The 0.10 version of this plugin suffers from many systemic design flaws. The 0.11 version has been re-written from the ground up to avoid these, however I do not currently have the time to invest in a backport. Please do not file tickets against the 0.10 version, as I will close all of them as wontfix.

NOTE 2 The 0.11 version requires a version of Genshi from trunk (or >=0.5 once that is released).

NOTE 3 People seem to be misunderstanding this, so I will repeat it. DO NOT USE THE 0.10 VERSION, IT IS BROKEN.

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.

You need to install graphviz to use the dependency graphs.

Bugs/Feature Requests

Existing bugs and feature requests for MasterTicketsPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:masterticketsplugin here].


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


To enable:

mastertickets.* = enabled

blocking = text
blocking.label = Blocking
blockedby = text
blockedby.label = Blocked By

Recent Changes

16050 by rjollos on 2016-12-04 12:43:17
4.0.0dev: Ignore development artifacts
16039 by rjollos on 2016-12-01 06:00:20
4.0.0dev: Default old_value to None, so that it maps to NULL

Fixes #11253.

16038 by rjollos on 2016-12-01 05:31:36
4.0.0dev: Use Trac 1.0 database API

Fixes #11932, #12193.



Author: coderanger