I want to create a query wherein we can track in a specific sprint, within 24 hour span, how many hours are burned by the team members.
My way of developing this query is if I can find change in the remaining work field , I can track it.
I have created query using @StartOfDay variable. But it is giving me data of tasks which are older than 24 hours also.
Is there any way in which I can limit it to last one day or 24 hours?
Your clauses in the query is not accurate actually. The Changed Date
monitors on any changes
on the work item but not only Remaining work
field.
In addition, the two Remaining work
clauses with >=[Field]
or <=[Field]
evaluates all
, which is not needed.
To find change in the Remaining work
field, you can add a custom field ChangedTime
for task:
add a work item rule(for inherited process), record the time
when Remaining Work
field is changed.
In the work item query, filter the ChangedTime
which is > @StartOfDay('-1d')
:
And add ChangedTime
and Remaining Work
in column option so it will display in the query result. You can sort the ChangedTime
by time, to get the work items in 24 hours.
Or you can export the result in CSV format
, and check tasks in excel instead. It supports accurate time
filter: