Index
[Downloads (PDF, HTML & XML formats)]
[Other versions]
Documentation for GreenHopper 6.2.x. Documentation for earlier versions of GreenHopper is [available too].
On this page:
This section explains what JIRA data is used in generating Sprint Hour Burndown Charts and how GreenHopper adjusts these charts to handle changes to older Work Logs.
When work is logged against a JIRA issue, JIRA:
Bear in mind that the date/time of a History entry matches that of when it was created. However, the date/time of a Work Log entry matches that of when the work was conducted.
For each date on a Sprint Hour Burndown Chart, the 'Number of Hours' (y-axis) values of the following curves are calculated as described:
The Remaining Estimate's Original Values and Worklog Ids are used when calculating changes to older Work Logs (below). If work has been logged against an issue, the Remaining Estimate's New Value is equal to its Original Value from the previous Work Log History entry.
For simplicity, the examples in the following sections refer to sprints associated with a single issue only. Of course, when multiple issues are associated with a sprint, the rules above for calculating the 'Number of Hours' of each date in the blue and green curves still apply.
During a sprint's planning phase, the time estimates of issues associated with the sprint are established. For any given sprint, GreenHopper assumes that:
Work can be logged against any of the sprint's issues during its start date.
When estimating the time of a new issue in a sprint, you would typically enter this estimate into the issue's Original Estimate or Remaining Estimate field. If a Remaining Estimate value is not specified, JIRA automatically copies the Original Estimate's value across to the Remaining Estimate field, once the issue is created.
Be aware that GreenHopper does not use JIRA's Original Estimate field values in Hour Burndown Chart calculations.
On a sprint hour burndown chart, the Remaining Values curve (green) and Guideline curve (red) have the same initial 'Number of Hours' value (at x=0). For planning reasons, it is important that these values do not change after the sprint's start date.
The initial 'Number of Hours' of the green and red curves is the sum of the initial Remaining Estimate of all issues in the sprint. The initial Remaining Estimate for a sprint's issue is based on the following criteria:
x=0 represents the start date of work on a sprint after planning has been conducted but before work has been logged.
Example:
When work is logged against a sprint's issues on the actual days the work was conducted throughout the sprint's period, GreenHopper adjusts the green and blue curves accordingly.
However, JIRA permits the adjustment of older Work Logs too. A user can:
Because each Work Log entry in an issue has a matching History entry, GreenHopper identifies 'backdated' and 'time-edited' Work Logs by determining if the Work Log entry's date precedes the date of its History entry.
GreenHopper handles 'backdated' and 'time-edited' Work Logs on its Hour Burndown Chart curves in the following manner:
Examples:
In the following sprint, 1 hour was initially logged against an issue on the 11th of August. On the 16th of August, the same Work Log was edited and its Time Spent value was changed to 2 hours. Hence, GreenHopper takes the difference between the New Value and Original Value of the Remaining Estimate field in the Work Log's History entry (dated the 16th of August) and adjusts the green curve back to the date of this History entry's Work Log (the 11th of August).
In this example, the net result is that the green curve changes inversely with respect to the blue curve. Be aware that this inverse relationship is unlikely to apply when two or more issues are associated with a sprint.
GreenHopper tracks changes to a Work Log entry using the entry's Worklog Id. Hence, if the a Work Log entry's Time Spent value is edited multiple times on a given date, GreenHopper adjusts the 'Number of Hours' values on the green curve between the date of this Work Log and the date when this Work Log entry's Time Spent edits were actually conducted. The value of this adjustment is the sum of all these Time Spent edits.
GreenHopper handles 'deleted' Work Logs on its Hour Burndown Chart curves in the following manner:
It is possible to change the Remaining Estimate of any issue in a sprint after its start date, without logging work. These changes will be reflected on the green curve on the date they were made.
As mentioned above, since GreenHopper assumes that the planning of a sprint is completed no later than its start date, the initial 'Number of Hours' values of the green and red curves (at x=0) do not change. This is done deliberately to indicate if the accuracy of time estimates needs improvement during the sprint planning phase.
Example:
It is also possible to add new issues to a sprint or to add time estimates to existing issues after the sprint's start date. These changes will be reflected on the green curve on the date they were made.
Again, since GreenHopper assumes that the planning of a sprint is completed no later than its start date, the 'Number of Hours' values of the green and red curve at x=0 do not change. This is helpful in showing scope creep throughout a sprint.
Example:
16 Comments
Anonymous
Jun 06, 2011It's really hard to understand how Greenhopper deals with Time Tracking. Doesn't Atlassian has a video explaining better how to accomplish this??
Julia Hayward
Jun 21, 2011Hi,
I don't seem to be able to get the red burndown line to display correctly. It currently just displays horizontally along the x date axis.
All this data on the right hand side shows the same as your chart examples. Can you please let me know what i'm missing for it to display from the total hours down to 0.
Thanks
Anonymous
Jun 22, 2011I am having the same issue - red line along the x date axis
Anonymous
Jun 24, 2011Hi, I got a reply from Altassan on this. Reply is below:
"The problem you are seeing is actually expected as you start adding issue in the middle of sprint. Which being considered not included in "original estimated" as they are out of estimated. For issues created after the sprint started, original estimated will not be added while the remaining estimate will be included. So If you change the Sprint start date to later ( the date issues are created), original estimate will be calculated and ideal burndown line will be drawn."
I've since started another sprint, and after adding all the stories in the red line now displays correclty. It seems that you must not add more stories in after the sprint otherwise the burndown line will not display.
Anonymous
Nov 16, 2011When an issue is closed with a value in the Remaining Estimate, will this time be reflected in the Hourly Burndown chart?
For example, I have a task that original estimate was .75d, Logged work .5d which leaves .25d remaining time. The developer closed the ticket.
Do I need to go back and set this to zero to ensure my burndown is accurate. Or is this automatically considered.
Sorry if this is a dumb question.
Anonymous
Jan 06, 2012It's a very reasonable question - pity no-one's answered, because I've been wondering the same thing. I guess the easiest way to find out is to experiment.
Anonymous
Jan 23, 2012You must set the remaining estimate to zero if you want to have an accurate burndown. I think this is a bug because if the issue is finished, it's supossed you won't work more on it.
Anonymous
Jan 23, 2012FYI, our dev configured Jira so that when a task is marked complete, its remaining time automatically changes to zero. Solved the issue for us, without us having to depend on people remembering to zero out their tasks. Cheers.
Anonymous
Feb 09, 2012Fixed in what way? Any guidance that you'd be willing to share?
Hitesh Tuteja
Aug 06, 2012I am quite keen to know how this was done. Can you please share the details?
Julien Roubieu
Aug 06, 2012You can do this in the administration area by editing the corresponding workflow transition and adding a new "Post Function" to clear the value of the "Remaining Estimate" field.
Hitesh Tuteja
Aug 08, 2012Thanks Julien. I have admin rights but I couldn't see any place where I could edit the workflow. It was all uneditable. Could it be because the workflow is shared across different projects and is the default workflow?
Anonymous
Feb 09, 2012When we zero out the remaining time (automatic when we close an issue) and it's after the release date, the burndown chart does not reflect accurately. Can you change the transaction date on remaining time kinda like Logging Work for a previous release/sprint? For example, the sprint ends 2/2 and we close out the user story on 2/9 (day of release), the remaining time get zeroed out, but time stamped with today's day 2/9. So, the burndown chart doesn't reflect this because it queries dates up until 2/2.
Julien Roubieu
Jun 26, 2012What happens when the sprint start date is changed? Is the chart updated?
It just happened to me: a sprint was originally planned to begin on June, 22th and were postponed to the 25th. On the 22th, the sprint already had some stories assigned (with no time logged) to it, but I only updated the start date on the 25th, after the planning meeting.
Today the red curve initial value is much lower than the actual sum of estimated hours, and I don't understand where its value comes from.
Any clue?
Ulric
Jul 17, 2012Hi,
Sorry, wrong place for bug report.
Anonymous
Jul 17, 2012I seems that the chart is missing in the Backdated Work Log scenario example.