•  
     
    story #10632 have the velocity of an artifact
Summary
Empty
have the velocity of an artifact
Empty

Overview

The velocity is computed as the sum of "initial effort" (as per semantic) of "Done" backlog elements of a milestone.

For instance, for a given Sprint "S1" with US1(initial_effort=5, status=Done), US2(initial_effort=3, status=Done and US3(initial_effort=5, status=On going), S1 velocity is 8.

velocity is not a new field, it's a standard integer or float field associated to a new semantic (velocity) provided by the agile dashboard.

This semantic comes with a new behaviour: when the artifact is closed, the velocity is automatically computed (with the rule given beforehand).

In Tuleap terms, it's the same thing than setting up a workflow post action (think of setting "close_date" when the artifact moves to "closed" state) but without having to manually configure the thing. It's automatically computed as soon as the velocity semantic is defined.

The computation of the value is done "inline". If it happens to take too long this might be delegated to a background event.

Scenario, edge case and permissions

  • As velocity is stored with a regular field, someone with enough permissions can override the value manually afterward.
  • The velocity is computed even if the one who close the artifact cannot see or update the velocity field
  • The velocity always sums the initial_effort of all done artifacts, even if some of the artifacts might not be visible by the one who do the action of by the one who see the computed velocity.
  • If one forgot to mark a story as Done before closing the milestone they can either update manually the velocity value or re-open and then re-close the milestone to force the re-computation.

Configuration

  • A tracker admin must add the new 'velocity' semantic to the relevant milestone trackers (that is to say sprints for instance)
    • "Velocity" can only be added when "Done" semantic is already defined
    • A warning is displayed when planning configuration is updated (is velocity accurate with planning?)
    • A warning is displayed at Velocity configuration if at least one "backlog" tracker doesn't have "Done" or "initial effort" semantic
  • The Tuleap Scrum template is updated to add velocity to sprints.
Empty
Laurence Terrien (ltn)
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#10632
Manuel Vacelet (vaceletm)
2018-03-29 10:26
2017-09-08 11:17
4440

References
Referencing story #10632

Git commit

tuleap/tuleap/stable

Add empty plugin 1a678358d3
Add empty velocity semantic 24abeda6e4
Fields should be displayed for velocity 5d8846d9da
Set/unset field used for velocity semantic 7fa4717733
Add warnings if at least one "backlog" tracker doesn't have "Done" semantic defined b6fd5bbc3a
velocity semantic should only be add on planning trackers bf3f422aee
Add warnings when planning configuration is updated 14ef683c13
Improve semantic display 3f6ad4e310
Update milestone velocity when backlog item is closed 7ed2646039
Velocity computation a8508ca6c7
Add warning when remaining effort semantic is missing in childs 7413c56bb0
Don't compute twice velocity 1090d5591d
css is not always loaded on semantic page 57e3669b0d
Velocity plugin uses a PSR-4 autoloader 50cb832717
XML import for velocity semantic 9052f8d4f3
Velocity is always stored to null f1341fee57
semantic velocity is forbidden when status is a selectbox d5b6d4f87b
Add missing forgeupgrade f0b3613e2a
No fatal error should be thrown if tracker does not have a status semantic abb6fb47d5
Deploy assets with RPM c094372f13
When no sprint has velocity, computed velocity should be stored at 0 1b052e3702
Improve semantic display 02a0a34c71

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from On going to Ready (stalled)
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Thomas Gerbet (tgerbet)2018-03-05 10:33
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar

Change the way velocity would be managed. It's not necessary to have dedicated field, a lightweight approach is proposed.


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • CC list set to Laurence Terrien (ltn)
  • Permissions set to