Version 19 (modified by thomasd, 3 years ago) (diff)

fixed author name thomasd



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. Furthermore, you can have tickets of certain projects without milestone.

Future Ideas

roadmap page filter for certain projects
new ticket page needs support for project selection
timeline page needs support for project filtering (for tickets)
version selection depending on projects
version as date on roadmap
project-related roadmap filtering/grouping: project group boxes on|off
project-related roadmap filtering/grouping: only milestones vs. only versions
project-related timeline page filtering of wiki changes
user-defined field used to define the "project" (e.g. by using component)
support permission handling
show project description as project box header on roadmap page
Localization / translation support (L10N)
check 1.0 compatibility
improve project selection widget
Per-project ticket.default_* settings

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

[14463] by falkb on 2015-02-25 11:56:42

fixes #12201 (thanks to nenad):

  • hide closed milestones from newticket form
  • hide closed milestones from change ticket form under some circumstances (e.g. missing permissions)
[14359] by falkb on 2015-01-06 10:02:58
fixed last commit to which accidentally removed changes of [14335] again (see comment:ticket:10060:30)
[14358] by falkb on 2015-01-02 23:34:20
patch by Cinc fixes #12128, thanks a lot for this contribution!


Author: crossroad, falkb, thomasd
Maintainer: crossroad

Attachments (8)

Download all attachments as: .zip