Solved

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

Posted on 2008-06-16
3
315 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now