Project

General

Profile

Add a Totalable field of issues in Project Overview

Added by Kush Suryavanshi about 8 years ago

I have a project with many issues with a specific custom field. I can do the total of that field using "Options" in issues page. What I need is the ability to display this total on Project overview page.
It seems like issues page uses total_by_group_for and total_with_scope from query.rb to achieve this.
But, it seems that I need to change the code in projects_controller.rb. Here, Redmine code uses Issue.visible or Issue.visible.open to get the list. Any idea if I can leverage the functionality of quer.rb in projects_controller.rb? Or do I need to have a completely different approach?
Also, do people generally use some other system for dashboards?
Any input will be much appreciated :)
Thanks!


Replies (1)

RE: Add a Totalable field of issues in Project Overview - Added by Kush Suryavanshi about 8 years ago

I was able to achieve this using IssueQuery.

    (1-1/1)