Use for programming questions related to Taskwarrior, such as questions regarding hook scripts. Questions about Taskwarrior usage and customization should be asked on Super User.
Questions tagged [taskwarrior]
31 questions
238
votes
19 answers
RegEx to extract all matches from string using RegExp.exec
I'm trying to parse the following kind of string:
[key:"val" key2:"val2"]
where there are arbitrary key:"val" pairs inside. I want to grab the key name and the value.
For those curious I'm trying to parse the database format of task warrior.
Here…

gatlin
- 2,399
- 2
- 14
- 6
16
votes
3 answers
taskwarrior, delete old recurring tasks
How would I delete all recurring tasks in taskwarrior, which are completed, till some date?
I tried:
task Nevena until:07/29/2014 uuids
to get listed those that fall before that date, and collect their id's, so I could pipe them to delete command,…

branquito
- 3,864
- 5
- 35
- 60
9
votes
3 answers
taskwarrior conditional in filter
Does anyone know if a conditional (such as 'not') can be applied in a taskwarrior filter.
I want to list all tasks except for the ones related to one project.
Say I have projects A thru F, I want all tasks except the ones from project C. It looks…

dave
- 897
- 1
- 7
- 20
8
votes
2 answers
taskwarrior - Is it possible to report on the time spent on tasks?
I'm trying to use taskwarrior to track time for billing purposes.
To do that I'm trying to generate a report showing the hours spend on each task. The standard completed report gives the Created and Completed dates but not times, so I cant see how…

Michael Anonymous
- 131
- 11
5
votes
1 answer
Adjust multiple Taskwarrior task due dates by a specific amount
I like to create Tasks corresponding to chapters in books. In this way, I can create a schedule for reading which allows me to know when I'll finish a book, where I'll be by such-and-such date, ETC. Given that I like to read several books at a time,…

Seanimus
- 457
- 4
- 16
5
votes
3 answers
taskwarrior "task del" without confirmation dialog
In taskwarrior there are some commands which need confirmirmation, like deleting more than 2 tasks or modify recurring tasks. I don't want to confirm every time and I have already set "confirmation off" in file .taskrc .
I'm using the subprocess…

Jighen
- 81
- 5
3
votes
1 answer
How to set or modify a task to be due end of day tomorrow with taskwarrior?
I would like to set the deadline for a task to be end of day tomorrow. The following was my first attempt:
task add 'Ask question about tw on StackOverflow' due:tomorrow eod
That fails, resulting in eod being appended to the description:
21 4s …

RobinLovelace
- 4,799
- 6
- 29
- 40
3
votes
1 answer
taskwarrior, delete multiple recurring tasks without request for deleting all pending
Returning from holidays, I want to delete all recurrent daily routines not done during absence. For this i use:
task 100-200 delete
Then I confirm the request:
Delete task 100 'Drink: water, 0.7l, before 10:00'? (yes/no/all/quit)
with a (for…

alex
- 1,103
- 1
- 14
- 25
3
votes
0 answers
taskserver: client connection handshake failed
Issue
client$ task sync
Syncing with .localdomain:53589
Handshake failed. The TLS connection was non-properly terminated.
Sync failed. Could not connect to the Taskserver
TL;DR I'm pretty sure this isn't an issue with certificates, but…

Rob BC
- 31
- 1
3
votes
4 answers
Taskwarrior: How to show just the most urgent task
I adore taskwarrior, it seems to be the only management app that you can dial in what you decide is the most urgent. Not just due today, or overdue, but a combination of values.
I want to put the top urgency task in a bunch of scripts and widgets…

0atman
- 3,298
- 4
- 30
- 46
3
votes
0 answers
Taskwarrior Taskserver with Nginx
I have a current configuration with docker + taskserver + nginx reverse proxy and when I connect using task sync it fails.
$ task sync
c: 1 Received record packet of unknown type 72
Syncing with task.reggi.com:80
Handshake failed. An unexpected…

ThomasReggi
- 55,053
- 85
- 237
- 424
3
votes
1 answer
TaskWarrior Port not Opening Externally
I run a Debian 9 server (recently upgraded from Debian 8 where similar problems occurred). I have a task warrior instance up and running and it works internally, I am unable to sync to it externally however. I run a UFW firewall…

TheOrganist24
- 89
- 7
2
votes
2 answers
Taskwarrior - How not to display the age of a task
I am using taskwarrior together with conky and to make the format look nicer, I want to modify, what information is actually given by taskwarrior.
In particular, I do not want it to display the "Age" column of a task.
Right now it looks like…

Metagross31
- 25
- 4
2
votes
2 answers
Taskwarrior: How do I find the tasks that depend on a specific tasks?
How do I find out which task(s) depend on a specific task without reading the information of all tasks?
Reproduction
System
Version
$ task --version
2.5.1
.taskrc
# Taskwarrior program configuration file.
#…

Hoschi-IT
- 23
- 5
2
votes
1 answer
Add an annotation with "add" command in Taskwarrior
Can I add an annotation to a task in Taskwarrior while creating it like that?
task add Description annotation:Anno
Normaly I have to do it with two commands
task add Description
task 1 annotate Anno

buhtz
- 10,774
- 18
- 76
- 149