cannot create dashboard templates with parametrized queries
There are some related topics here in jazz.net but I haven't found a specific one with the following issue we are experiencing:
We use the Work Items Statistics viewlet pointing to queries with parameters. We can manually create those widgets by selecting the query and the proper parameters. The problem is, we cannot populate them automatically when the project is created by using dashboard templates. There seems to be nothing to set up parameters in Project Configuration -> Configuration Data -> Dashboards -> Dashboards templates.
The reason it is so important to find a way to automate it is because we have many Team Areas (50+) and many iterations (10+). We configure a dashboard for every Team Area. Every dashboard contains a tab for every Iteration with 10 Work Item Statistics widgets pointing to queries with parameters. This makes 50 * 10 * 10 = 5000 widgets to be configured manually every time a Project Area is created. It takes weeks.
So,
Any idea how to populate them programmatically? Maybe using the client Java API? exporting the widgets to HTML, editing the contents with the proper parameters and find a way to create or modify the widgets with that new HTML?
Any help will be highly appreciated.