export <filename>

export <filename>
Description

The export report looks like a regular TaskJuggler file but contains fixed start and end dates for all tasks. The tasks only have start and end times, their description and their project id listed. No other attributes are exported unless they are requested using the taskattributes attribute. The contents also depends on the extension of the file name. If the file name ends with .tjp a complete project with header, resource and shift definitions is generated. In case it ends with .tji only the tasks and resource allocations are exported.

If specified the resource usage for the tasks is reported as well. But only those allocations are listed that belong to tasks listed in the same export report.

The export report can be used to share certain tasks or milestones with other projects. When an export report is included the project IDs of the included tasks must be declared first with the project id property.

AttributesNameTypeDescription
filenameSTRING 
Optional Attributesend, hideresource, hidetask, properties, rollupresource, rolluptask, period, scenarios, start, taskattributes, taskroot
ContextThe TJP File,
InheritableNoScenario Spec.No
See alsoinclude

project prj  "Project" "1.0" 2000-01-01 - 2000-03-01

resource r "Resource"

task t "Task" {
  start 2000-01-01
  effort 10d
  allocate r
}

# Export the project as fully scheduled project.
export "FullProject.tjp" {
  taskattributes all
  hideresource 0
}

# Export only bookings for 1st week as resource supplements
export "Week1Bookings.tji" {
  start 2000-01-01
  end 2000-01-08
  properties bookings
  hideresource 0
}