Add option to limit target project
|Reported by:||finebanana@…||Owned by:||k0s|
|Severity:||normal||Keywords:||ticket move target|
My Trac setup consists of many projects and since I enable this plugin, opening a ticket just for viewing takes a long time. I suspect this is due to the extra process in the plugin to check thru all existing Trac projects before populating them in the drop down list. It will be good is you can add on option to limit the target project to the ones listed explicitly in an additional parameter, for example:
there are 10 projects in the Trac server: project1 .. project10
and this plugin is enabled for project1, but for some reasons, I'd like to limit moving of ticket from project1 only to project2 and project3. So in project1's config, i'd like to specify:
ticketmoverplugin.target = project2, project3
With this option, I hope the plugin will only go thru the listed ones and shorten the time taken to open up existing tickets in project1. If the parameter is not specified or missing, then the current behaviour can be use as default.