Solved

Trac - How to do useful reporting in one query....

Posted on 2008-06-16
3
319 Views
Last Modified: 2012-08-13
Hi I am using Trac to manage my bugs for a particular project. The problem is, when I create a report, it only allows for me to do ONE Sql query.

Is there a way to allow multiple queries? What I basically want to do is have a Trac report show the number of open bugs and closed bugs for the week IN ADDITION to a query that pulls up a report of current bugs...

0
Comment
Question by:eecosmo01
3 Comments
 
LVL 21

Expert Comment

by:oleggold
ID: 21899443
In sql You can combine several subqueries with joins to get it to 1 query,one report is genrally a one sql query,just pretty complex one.
If You'd give more details and the code You're using it would be possible to advise You further.
Anyway,subqueries,joined in one sql should provide enough detils for Your report
0
 
LVL 8

Expert Comment

by:mhunts
ID: 22273848
To show open and closed bugs on one report makes sense, but if you want completely different information, such as details of current bugs, then you should write a separate report for that one.

If the field columns are the same, then you could use SQL features such as GROUP BY, but if the columns of data are different, then that really means a separate report.
0
 

Accepted Solution

by:
eecosmo01 earned 0 total points
ID: 22404296
I found out how to do it myself. Basically I had to rewrite the Trac code to accept multiple queries. It was the only way =(
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Read about the ways of improving workplace communication.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question