daniebker

Default workinghours in taskjuggler

· [Daniel Baker]

I have this fascination with wanting to visualise how long I think a project will take. I’ve been trying to use ox-taskjuggler and org-mode to do this for years and today I finally, with the help of AI, cracked it.

Taskjuggler has a default workinghours schedule of mon - fri 09:00-17:00 to allocate resources outside of that time you need to override the default and set the resources workinghours. The main goal for me is to be able to see on a timescale just how long I think a project will take if I commit to working on it 1 hour a week. By using ox-taskjuggler and org-mode I can do just that. This is a nice to have and shouldn’t really be needed for personal projects, I know. But, sometimes you just have an itch that needs scratching

Here’s an Example File


* Resources :taskjuggler_resource:
** Me
:PROPERTIES:
:workinghours: fri 20:00-21:00
:resource_id: ME
:END:

* PROJ [#A] Project workflow :mobile:PROJECT:ACTIVE:M:taskjuggler_project:
DEADLINE: <2025-12-29 Mon> SCHEDULED: <2025-08-05 Tue>
:PROPERTIES:
:currency: "EUR"
:scenario: plan "Plan" { scenario reality "Reality" }
:weekstartsmonday:
:timingresolution: 15 min
:chargeset: taskbudget
:CREATED:  [2025-08-05 Tue 15:17]
:workinghours: mon - thu, sat, sun off
:END:

** TODO Task 1
:PROPERTIES:
:Effort:   1h
:task_id:  t1
:allocate: ME
:END:

** TODO Task 2
:PROPERTIES:
:ID:       923f0084-25ec-4582-9e11-22ad403ab342
:Effort:   4h
:task_id:  t2
:allocate: ME
:END:

** TODO Task 3
:PROPERTIES:
:ID:       75cd5eb5-348b-4e5a-9c1c-03ff3bea65a1
:task_id:  t3
:depends:  t1
:Effort:   30min
:allocate: ME
:END: