[TIME-2] Filter Timesheet by Priority

Issue #2 resolved
Andriy Zhdanov created an issue

Hi Andrew,

Hope I'm not being a pain with the multiple requests I was looking at the timesheet plugin pages, wondering if it would be possible to include a field on the issue search page to filter issues by priority. (Nothing fancy, either 1 priority type or all types – no cherry picking.)

Our use case is that we use the timesheet to determine all work that's been done over the period requested. The thing is, not all of those issues are created equal. Blocker issues, for example, are the most important issues we tackle, and we need to know just how much time we burn on them vs other less-important issues. For example, if we know how many hours we spent on trivial issues vs those identified as blockers, we can take corrective action accordingly (either the developer needs to be questioned on the practice, or the project manager needs to refocus the troops). Overall I think it becomes an excellent management tool.

What do you think?

By rmiranda/Ruben Miranda on Wed, 10 May 2006 12:43:02 -0700

Comments (5)

  1. Andriy Zhdanov reporter

    Sounds reasonable, but may be vertical grouping by priority with coloring and sub totals would be better?

    But I'm not sure if I'll do it soon..

    By azhdanov on Wed, 10 May 2006 12:51:12 -0700

  2. Andriy Zhdanov reporter

    I suppose that would work as well...my preference was to leave the page uncluttered in case other folks didn't find this feature helpful.

    Incidentally, I looked over the source code...very well commented and documented, nice! I assume the changes for a priority subtotaling would be contained in the templates, whereas a filter would also require changes in TimeSheet.java as well? Just trying to get a handle on how difficult this might be to implement on my own in the event we chose to pursue it.

    By rmiranda on Wed, 10 May 2006 13:09:10 -0700

  3. Andriy Zhdanov reporter

    In your way it should be easy:
    1) add one more property in src\etc\atlassian-plugin.xml for <report key="timesheetreport" (I'm not sure but there might be <type>priority</type>)
    2) retreive it in src\java\com\fdu\jira\plugin\report\timesheet\TimeSheet.java:validate
    3) check it in src\java\com\fdu\jira\plugin\report\timesheet\TimeSheet.java:getTimeSpents (one more ugly if

    By azhdanov on Wed, 10 May 2006 13:22:23 -0700

  4. Andriy Zhdanov reporter

    Done - let choose issue priority to show timesheet for
    Committed revision 2066

    By azhdanov on Wed, 31 May 2006 17:33:30 -0700

  5. Andriy Zhdanov reporter

    VERY cool...works as expected. Nice work!

    By rmiranda on Thu, 1 Jun 2006 10:43:30 -0700

  6. Log in to comment