taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

[TW-1889] inherited urgency not shown in task information

Open taskwarrior opened this issue 7 years ago • 1 comments

Christian Krause on 2017-01-30T09:45:21Z says:

I am now working with urgency inheritance. As far as I can tell, the urgency is more or less correctly inherited by tasks blocking others. However, task information does not list the inherited urgency:

{code} $ task 13 information

Name Value ID 13 Description foo Status Pending Project test This task is blocking 11 bar Entered 2017-01-18 23:37:00 (11d) Last modified 2017-01-26 15:51:36 (3d) Tags test Virtual tags BLOCKING PENDING READY TAGGED UNBLOCKED PROJECT UUID c914f6f1-ed0d-4451-9387-fa45d355868d Urgency 4.095

age  0.015 *    4 =   0.06

  •                    4.095
    

{code}

The urgency calculation is incomplete.


What I think would be useful here is the following:

  1. calculate the urgency as usual
  2. list the urgency of all tasks that this one is blocking
  3. choose the highest value of either 1. or 2. and report this as the new urgency

Is this how the inherited urgency is calculated? I don't understand it entirely yet, because the urgency of my task 11 is a bit different than what above-mentioned task 13 has:

{code} $ task 11 information

Name Value ID 11 Description bar Status Waiting Project test This task blocked by 13 foo This task is blocking 12 baz 66 blubb Entered 2017-01-18 23:32:29 (11d) Waiting until 2017-01-31 00:00:00 Last modified 2017-01-27 13:57:18 (2d) Tags test Virtual tags BLOCKED BLOCKING TAGGED WAITING PROJECT UUID b52492a1-36de-423b-af0e-dd0a32227d0c Urgency 4.085

age  0.015 *    4 =   0.06

  •                    4.085
    

{code}

Where does the .1 difference come from?

taskwarrior avatar Feb 14 '18 20:02 taskwarrior

Migrated metadata:

Created: 2017-01-30T09:45:21Z
Modified: 2017-10-12T03:04:55Z

taskwarrior avatar Feb 14 '18 20:02 taskwarrior