Reference
Time in state — how long a project's open work sits in each state
The get-project-metrics tool, and the REST call it is generated from.
One row per status, readiness state and on, read back from the history of the project's work tasks: their status moves, every wait they were given and every blocks edge into them. open is how many are in that state at until, and open_days how long they have been; entered and left are how many times a task entered and left it during the window, and left_days how long each stayed. moves counts each pass from one state to another in the window, to a bare status when the task closed. completed is creation to completion for the tasks completed in the window. Days are nearest-rank percentiles, to one decimal; null where nothing was counted.
Parameters
- id
The project's
proj_…id, aslist-projectsanswers it. - since
Start of the window
entered,left,movesandcompletedcount in. Defaults to 30 days beforeuntil. - until
The instant
openis taken at. Defaults to now. - tag
Measures only tasks carrying any of these tags.
- group_by
on: also answergroups, the same rows per holder whose answer holds the work, auser_…orteam_…, thennullfor anexternalwait on nobody.One of: on.
Responses
Generated from the spec this operation is implemented against, so the two names above cannot disagree with the surface a client sees.