limit
with ids
ergo: how to change top N tasks from a report
#3593
-
That does not work as expected, therefore I thought I should go the id route - What I currently do is Is there a sensible way of approaching this, where I can just run 1 command and get this done? Or should look more into automating the processing of the output? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hei, I did not found a way of making it work with the If you add something like: report.treport.columns = id
report.treport.filter = status:pending -WAITING limit:4
report.treport.sort = urgency-
report.treport.context = 0 Now if you run your report and turn of extra verbosity with ID
--
18
19
20
21
Now cutting out the first header lines you could add a $ task treport rc.verbose:0 | tail -n +4
18
19
20
21
Now you could call this command and modify as you like them over This way you would not need to postprocess something in vim. :) |
Beta Was this translation helpful? Give feedback.
Hei, I did not found a way of making it work with the
ids
command.However what you could do, but also more on the postprocessing site is having a custom report that only outputs the ids you want with the specific limit and then pipe that into a modification.
If you add something like:
Now if you run your report and turn of extra verbosity with
rc.verbose:0
you should get something like that:Now cutting out the first header lines you could add a
tail -n +4
command to the pipe. So calling