emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] ox-taskjuggler


From: Søren Mikkelsen
Subject: Re: [O] [bug] ox-taskjuggler
Date: Wed, 21 Jan 2015 14:08:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-01-20 22:00, Nicolas Goaziou wrote:
> Hello,
> 
> Søren Mikkelsen <address@hidden> writes:
> 
>> I'm trying to use the taskjuggler exporter for getting an overview of my
>> project, and it seems to be straight forward if you know a bit about
>> Taskjuggler.
>>
>> However, tasks that are scheduled org-mode like, i.e.,
>>
>> *** TODO My task
>>   SCHEDULED: <2015-01-27 Tue>
>>
>> don't appear in the report. But, if I add a START property it will appear.
>>
>> *** TODO My task 2
>>     :PROPERTIES:
>>     :start:    2015-03-01
>>     :END:
>>
>> I suspect it has something to do with l462-470:
>>
>> (defun org-taskjuggler-get-start (item)
>>   "Return start date for task or resource ITEM.
>> ITEM is a headline.  Return value is a string or nil if ITEM
>> doesn't have any start date defined."
>>   (let ((scheduled (org-element-property :scheduled item)))
>>     (or
>>      (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d"))
>>      (and (memq 'start org-taskjuggler-valid-task-attributes)
>>        (org-element-property :START item)))))
>>
>>
>> I'm not that experienced in elisp, so I hope someone can help me.
> 
> There is no bug in the snippet shown.
> 
>  "ox-taskjuggler" just doesn't use SCHEDULED to set start property for
> tasks. However, it will use SCHEDULED to set the start date for the
> project.
> 
> Note that I don't use Taskjuggler, so I don't know if this is the right
> behaviour or not.
> 
> 
> Regards,
> 
According to the org mode docs, assigning the start of a task should be
possible both ways:

http://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html#sec-5

Or am I misinterpreting the docs?

-- 
Best regards,
Søren Mikkelsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]