### The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing

<< export << | Table Of Contents | >> fail >>

Keyword | extend

Purpose

Often it is desirable to collect more information in the project file than is necessary for task scheduling and resource allocation. To add such information to tasks, resources or accounts, the user can extend these properties with user-defined attributes. The new attributes can be of various types such as text, date or reference to capture various types of data. Optionally the user can specify if the attribute value should be inherited from the enclosing property.

Syntax | `extend (task | resource) [{ <attributes> }]`
Arguments | none
Context | project

Attributes | date (extend), number (extend), reference (extend), richtext (extend), text (extend)

    project "Extend Test" 2013-04-24 +1m {
      extend task {
        date DueDate "Due Date"
        number Count "Count"
        reference URL "URL"
        richtext Claim "Claim"
        text Intro "Intro"

        date DueDateS "Due Date" { scenariospecific inherit }
        number CountS "Count" { scenariospecific }
        reference URLS "URL" { scenariospecific }
        richtext ClaimS "Claim" { scenariospecific inherit }
        text IntroS "Intro" { scenariospecific }
      }
      extend resource {
        date Birthday "Birthday"
        number Count "Count"
        reference URL "URL"
        richtext Claim "Claim"
        text Intro "Intro"

        date BirthdayS "Birthday" { scenariospecific inherit }
        number CountS "Count" { scenariospecific }
        reference URLS "URL" { scenariospecific }
        richtext ClaimS "Claim" { scenariospecific inherit }
        text IntroS "Intro" { scenariospecific }
      }
      scenario one "One" {
        scenario two "Two"
      }
    }

    resource "R" {
      Birthday 2000-05-01
      Count 42
      URL "http://www.taskjuggler.org"
      Claim "A '''big''' statement."
      Intro "Let's think about this..."

      two:BirthdayS 2000-05-01
      two:CountS 42
      two:URLS "http://www.taskjuggler.org" { label "TJ Web" }
      two:ClaimS "A '''big''' statement."
      two:IntroS "Let's think about this..."
    }

    task "T" {
      DueDate 2013-05-01
      Count 42
      URL "http://www.taskjuggler.org"
      Claim "A '''big''' statement."
      Intro "Let's think about this..."

      two:DueDateS 2013-05-01
      two:CountS 42
      two:URLS "http://www.taskjuggler.org" { label "TJ Web" }
      two:ClaimS "A '''big''' statement."
      two:IntroS "Let's think about this..."
    }

<< export << | Table Of Contents | >> fail >>

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 by Chris Schlaeger <cs@taskjuggler.org>.TaskJuggler is a trademark of Chris Schlaeger.