Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've worked up code that does what I think you are asking. It's in this <a href="https://gist.github.com/1674264" rel="nofollow">gist</a>.</p> <p>The basic idea is that for each release, I divided all of it's resources over all of the work days between its start and end. I then walk through each day and if that day is in an iteration, I add those resources to that iteration. Is that what you are trying to do? </p> <p>The former Agile Coach in me wants to question the approach. It feels like a bit too much long range planning with a level of precision in the calculations that exceeds the resource estimate accuracy... but I've held back those instincts enough to give you usable code.</p> <p>It's probably overkill for this situation but the solution uses a library I'm working on called <a href="https://github.com/lmaccherone/ChartTime" rel="nofollow">ChartTime</a>. ChartTime allows you to do date and timebox manipulation and calculations. It has the ability to knockout holidays and weekends, which I've used in my example solution to your problem even though that precision wasn't needed. It also has timezone precision, which I did not use. </p> <p>ChartTime is written in CoffeeScript and my solution to your problem is also written in CoffeeScript. CoffeeScript is just a cleaner syntax for JavaScript and it compiles to JavaScript so you can use the ChartTime library directly from JavaScript. I'm working on it every weekend/evening and it works well. The docs are pretty good but not complete yet.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload