SalesforceLabs / Milestones-PM

Lightweight Project and Task Management for Force.com #forcedotcom
http://labs.force.com/pm
208 stars 520 forks source link

Total Open Task Count missing tasks #117

Closed AlexIsMaking closed 9 years ago

AlexIsMaking commented 9 years ago

I have 16 Open Tasks created on my Milestones and linked to a project, these tasks also appear under the "Total Open Tasks" field header when I run a report and in the Milestones Related List. But the Project is only picking up 12 tasks for the Total Open Task Count" (and only 12 are displayed on the Task Analysis pie chart in the Status At A Glance section).

Are there any criteria that might be filtering out some of my tasks (other than open vs closed obviously) from this count?

Or if anyone can point me in the direction of the code that's used to calculate this figure then hopefully I can solve the issue myself.

Thanks!

AlexIsMaking commented 9 years ago

This is what the count looks like in production.

open task count

I had created exactly the same set of tasks in our sandbox and the count there looks like this!

report 2

Why isn't the Total Open Task Count field just a simple formula field like Total Open Tasks?

AlexIsMaking commented 9 years ago

Jerry, I'm guessing you'll see this first, it should have been posted under Milestones-PM-Plus please feel free to move it.

jerryreid commented 9 years ago

Thanks. I've logged this on the PM+ repo, https://github.com/PassageTech/Milestones-PM-Plus/issues/20

AlexIsMaking commented 9 years ago

I was making a stupid mistake here, thinking that the Project page refreshed after every edit to a task. The count has updated to the correct figure after a manual edit & save.

An improvement to the page would be including a workflow rule to automatically refresh the Project page, as long as it's linked to a task that's just been edited. Obviously the Open Task Count etc. needs to be updated every time a change is made.

If anyone's created this rule already could they please let me know.