Development of Emacs Org-mode export to TaskJoggler (ox-taskjoggler.el)

86 views
Skip to first unread message

Jakob Schöttl

unread,
Jun 8, 2020, 12:26:06 PM6/8/20
to TaskJuggler Users
Hi,

is any developer here, working on ox-taskjoggler.el? How can I get in contact with that community?

TaskJoggler and the org-mode export are great but there are some issues with the export:
  1. Only vacation is exported for resources, but not leaves.
  2. The export only supports a single vacation line for a resource. It would be great for source control, if it could export multiple lines of vacation.

I would try to contribute, but I don't know where to start and who is the community?

Regards, Jakob


Example for the export:

org-mode file:
...

* Mitarbeiter                                          :taskjuggler_resource:
** Person A
:PROPERTIES:
:RESOURCE_ID: p1
:vacation:                              2019-03-11 - 2019-03-26
:leaves: sick                           2019-12-12 - 2019-12-13
:leaves: sick                           2019-09-30 - 2019-10-01
:vacation:                              2019-07-31 - 2019-08-22
:END:
...



expected TaskJoggle file:
...
  resource p1
"Person A" {
   vacation      
2019-03-11 - 2019-03-26
   leaves sick  
2019-12-12 - 2019-12-13
   leaves sick  
2019-09-30 - 2019-10-01
   vacation    
2019-07-31 - 2019-08-22  }
...


Kercin

unread,
Aug 18, 2020, 9:26:55 AM8/18/20
to TaskJuggler Users
Hi,

I'm a user and I'm unable to help with any leads towards getting in touch with the ox-taskjuggler dev community, but I use org-mode and taskjuggler consistently and faced similar issues to you. I'll present my workarounds in the hope that it may help you temporarily:

1. Try to set your own values for 'org-taskjuggler-valid-resource-attributes' so as to include 'leaves'. Note that the order of words presented is the order in which it is exported. You can do the same for 'task-attributes', 'project-attributes' to further customize export values.
2. To get multiple lines of the same property, I simply type it in the same line as a workaround. So in your case I'd type as follows in org-mode under properties for resources: vacation: "date" vacation "date" vacation "date"

Hope this helps,
Best regards,
KC

Jakob Schöttl

unread,
Sep 6, 2020, 4:56:24 PM9/6/20
to taskjugg...@googlegroups.com, Kercin
Thanks for your answer! Regarding 2., the reason why I had multiple vacation lines was that it is easier to process - these lines are automatically generated in my setup. But I'll find a work-around for that.

Thank you,
Regards,
Jakob

Am 18.08.20 um 14:09 schrieb Kercin:
Reply all
Reply to author
Forward
0 new messages