Version 15 (modified by falkb, 3 years ago) (diff)

added timeline filter demo



Lets you easily manage multiple projects with one instance of trac. This implements the idea of

Experimental version.

You need to define an additional custom ticket field 'project' in your trac.ini, because on creating tickets the milestone combobox shows only milestones appropriately to the chosen project.

Future Ideas:

  • Project Components
  • Project Category

Technical thoughts

This plugin adds two new tables to the db:

  1. smp_project: a list of all defined projects
  2. smp_milestone_project: the association of milestones to projects


Admin Interface:

Associate a milestone in a project:

Group milestones in the roadmap, and display only projects chosen in the filter box:

display only tickets in the timeline of projects chosen in the filter box (adapted from TimelineComponentFilterPlugin):

Bugs/Feature Requests

Existing bugs and feature requests for SimpleMultiProjectPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


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


  1. Add a custom ticket field 'project' in your trac.ini to give tickets the information to which project they belong. Milestones selection depends on that as well.
    project = text
    project.label = Project
    project.value =
  2. Generate the plugin .egg file from sources
    python bdist_egg
  3. Copy the plugin to Trac, e.g.
    cp dist/SimpleMultiProject-0.0.1-py2.6.egg /instance_trac/plugins/
  4. Restart Apache. After installation of this plugin Trac needs a database upgrade!
    trac-admin /instance_trac/ upgrade

Recent Changes

[14347] by falkb on 2014-12-23 09:05:10
see #10060: patch by Cinc which adds project accociation functionality to the common milestone Admin table

(@Cinc: Yeah, your comment:19 patch has helped. :-) Now it shows properly. Like++. I still see the problem I'm not able anymore to add milestones without projects, because the "Add" button is disabled then.)

[14337] by falkb on 2014-12-18 08:55:55
see #12109: another try to get plugin compatibility to Trac 1.0.2
[14336] by falkb on 2014-12-16 16:20:22
fix for previous commit [14335]: custom field 'project' should not be added to the trac env if the plugin is disabled


Author: crossroad, falkb, T.Doering
Maintainer: crossroad

Attachments (8)

Download all attachments as: .zip