0

Having (require 'ox-taskjuggler) in my init.el and hitting org-taskjuggler-export-process-and-open in foo.org renders the current date instead the expected scheduled date.

Content of foo.org

*** Foo                                                 :taskjuggler_project:
    :PROPERTIES:
    :ORDERED:  t
    :scheduled: <2025-12-09 Tue>
    :END:
**** Bar
     :PROPERTIES:
     :Effort:   2w
     :END:
**** Acme
     :PROPERTIES:
     :Effort:   2w
     :END:

results in

pic

https://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html

2
  • 2
    Does it work if you put SCHEDULED: <2026-12-09 Tue> under the Foo headline, outside of the property drawer?
    – NickD
    Commented Nov 15, 2021 at 18:00
  • @NickD Yes. That's the answer. Thank you
    – jjk
    Commented Nov 15, 2021 at 18:32

1 Answer 1

0

As mentioned in a comment, SCHEDULED is a special property that should not go into a properties drawer: just like DEADLINE, it has to come right after the headline and before the properties drawer. That's where Org mode is looking for SCHEDULED or DEADLINE information.

So the Org mode file should look like this:

*** Foo                                                 :taskjuggler_project:
    SCHEDULED: <2025-12-09 Tue>
    :PROPERTIES:
    :ORDERED:  t
    :END:
**** Bar
     :PROPERTIES:
     :Effort:   2w
     :END:
**** Acme
     :PROPERTIES:
     :Effort:   2w
     :END:

M-x org-lint should flag problems like this and produce a useful report.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.