From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPtBCARQxGDCBQEAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 08:11:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WKRpAwRQxGBoQgAAbx9fmQ (envelope-from ) for ; Sat, 12 Jun 2021 06:11:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 574D320B52 for ; Sat, 12 Jun 2021 08:11:15 +0200 (CEST) Received: from localhost ([::1]:57016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrwrS-0001nU-8I for larch@yhetil.org; Sat, 12 Jun 2021 02:11:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrwqe-0001kS-30 for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 02:10:24 -0400 Received: from mail-il1-f171.google.com ([209.85.166.171]:46834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrwqc-0006m5-8v for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 02:10:23 -0400 Received: by mail-il1-f171.google.com with SMTP id v13so7181258ilh.13 for ; Fri, 11 Jun 2021 23:10:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9yqDQ/DqbMn7hHCKIqJoqL2gOw6H+NG7yMbBfnrfPzs=; b=TsvEPAbh3k+rmu56zIjQaZKYjHBdk5fQRpljRb8sHdRhGK9Foi0eXH0m12tdvtuct3 Rf94fYOrbnqwHa2eYUGw2Hr9VQf2e1z21Vr6lUsgbN5uDyt/9oGl+d8uut+vYU0PVFyP 1zrEtzB8FO82Yetr7xfuqih9YTZlqtuvCYmRVlg73nIVtF8yZdrreLNNywVnp6YwpXGp eILGpJv+tHcK9dTXoHn2YZ3ZJzIX2uELWlTaNmFU8CiFPJHQEHZOMJ4GpZT1iCvV3Zfw eMdZOCuRMlxbU09+6bAG+2hlDvyFzGGkqhID6y5OfHcSZ0hzZ9qB1aTiFFsCv95mUMHZ QOXw== X-Gm-Message-State: AOAM531ODeKv93RUmi9FpsOSIMri6sy6k08FJqOzx3OMp/kGEkETml+R fP8rxFljHNSmG4bcjTkXyjiVud5PmPpB8LJBIVPwkdk44Ck= X-Google-Smtp-Source: ABdhPJwZEyNChyEs2QNrzSZ3tCktQagLzgLSWE79WoCi4VZXxOqNznG2r+A9Qhyx0BQVyegMy9hM1t3ZFR7mFDKpZj0= X-Received: by 2002:a92:de09:: with SMTP id x9mr5603269ilm.145.1623478220363; Fri, 11 Jun 2021 23:10:20 -0700 (PDT) MIME-Version: 1.0 From: david whiting Date: Sat, 12 Jun 2021 07:10:09 +0100 Message-ID: Subject: ox-taskjuggler scenarios To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.166.171; envelope-from=david.r.whiting@gmail.com; helo=mail-il1-f171.google.com X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 5.0 requ) BAYES_05=-0.5, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623478275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9yqDQ/DqbMn7hHCKIqJoqL2gOw6H+NG7yMbBfnrfPzs=; b=dyQOROQPxhy0fLstzms9jaGUv5zAjNh2z13VIXgqzjuyK12mH20JMr5dBdeYtCc4j1Ft5y XmNO3dJ2pqhdYf1yTP0h0brgjZW70WqcpsblfvwtC8BMfClCpVFK90kbsDgkqTYtYQ4ecl DmYsTT4Zd9LHIDh2CpGhOB7jWePudbrQHdE5whTHgwTL5Ym9c+H15mR+LXjSDlb5QhKY4g Rk2QobMVCQIs60tnrPDOdo0XVjWWIWH5XtZqDRLnMWph3Tflrd1NJRPJ2LWPv8nDfYNhDA BVGeGPvZEqn6Tq84HOERFobnSJbZmIjP0HVGw0mAaP0hDhQcudD+cH2HNnpj0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623478275; a=rsa-sha256; cv=none; b=qhhHOk5eB+Ae4ZIZXKWpx9cCB0/RebWV5afIs20eLVVJ9D+XsmGkbS86EMAymFQmUkasCO Jc6wFwQr/61cSbrJlXLLi8qGqfRPFSls9YoaSYpxFCHKow3dn4fYvKh7D+2F9SuDmcGOUm 6zFMVRity0qAjSApejATERljxZx8dWQAdTn51pv5fXk9cuFRvcyXCh8lb1CNuQox2bvRWp hZPtgyxBs0OKsu8d+Aogx4R8mqI9xa16EhRzMSLTeswu59f8khHso91v8o/G0pUNk94bYZ UqLcppEmULhrI9la/MuNn/yTuV0mWVEht+90SYd611yQiFtUatPTCyT/cyDYEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 574D320B52 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: RZh0JUvi+3xV Hi, I am starting to use org-mode with taskjuggler and am trying to implement scenarios. To work with scenarios I need to be able to provide the scenario parameter values where the scenario differs to the default plan. For example, using the example from https://taskjuggler.org/tj3/manual/Day_To_Day_Juggling.html#Tracking_the_Project there are two scenarios, called "actual" and "test". To apply different values to show the base scenario/plan, what actually happened and the test scenario, I would do something like this: task t "Task" { start 2007-05-29 actual:start 2007-06-03 test:start 2007-06-07 } In this example, the original plan was to start on 2007-05-29, the project actually started on 2007-06-03 and we also get to see what would have happened if we started on 2007-06-07. Using org-mode I can use the following to create the task with the planned start date: *** Task :PROPERTIES: :start: 2007-05-29 :END: But I haven't been able to add the actual and test scenarios. I need to be able to add something like: *** Task :PROPERTIES: :start: 2007-05-29 :actual:start: 2007-06-03 :test:start: 2007-06-07 :END: But the actual and test information is ignored, it is not converted in the tjp file. I have tried adding "actual:start" (without the quotes) to org-taskjuggler-valid-task-attributes, but that did not work. I have also tried a similar approach with "effort", but again it is ignored. I currently have a hack to get what I want. I add the scenario info as a comment with a marker and then run a sed script on the resulting tjp file to replace the comment-markers with \n, like this: *** Task :PROPERTIES: :start: 2007-05-29 #@actual:start 2007-06-03 #@test:start 2007-06-07 :END: Is there a better way to do this? David -- David Whiting