Skip to main content
Version: TeamForge 23.0

task-data-export.py

Tasks, as a component, is no longer supported and was completely removed from TeamForge 20.1 and later. However, if you have been using Tasks, you can use the task-data-export.py script to export the Tasks data to Excel files, which you can later import into one of the TeamForge trackers.

Usage

[RUNTIME_DIR]/scripts/task-data-export.py [--rows|-r] | [--path|-p] | [--help|-h]

Parameters

The following parameters are available for the tasks-data-export.py script.

ParameterDescription
-r | --rowsThe maximum number of rows to export to an Excel file. Ignoring this option allows a maximum of 4500 rows exported to an Excel file.
-p | --pathThe path to the location where the Excel files (with Tasks data) are stored.
-h | --helpProvides a list of all available options for this script.

Usage Example 1: The following command exports the Tasks data to as many Excel files as required with no more than 400 rows in each Excel file. For example, if you have 900 records, the following command exports 400 records to the first two Excel files and the remaining 100 records to a third Excel file.

./task-data-export.py -r 400 -p /tmp/TaskExport/

Usage Example 2: The following command exports the Tasks data to as many Excel files as required with a maximum of 4500 rows per Excel file. For example, if you have 9000 records, the following command exports the data to two excel files with 4500 records per file.

/task-data-export.py -p /tmp/TaskExport/

Importing Tasks Data to a TeamForge Tracker

You can create a new Tasks tracker and mass import the data that you exported as discussed earlier using the tasks-data-export.py script.

However, the new tracker you create must comply with the following field structure. The following table lists the fields (both fixed and flex fields) and their values, if any, as expected in the new Tasks tracker that you create.

Artifact IDField ValuesType
TitleFixed Field
DescriptionFixed Field
Assigned ToFixed Field
TeamFixed Field
StatusPre-configured values of Task
Alert, OK, Warning, NotStarted, Complete
Fixed Field
PriorityNone
1 - Highest
2 - High
3 - Medium
4 - Low
5 - Lowest
Fixed Field
CategoryFixed Field
Start DateText-Flex Fields
End DateText-Flex Fields
Percent CompleteText-Flex Fields
Estimated HoursText-Flex Fields
Created DateText-Flex Fields
Task Created ByText-Flex Fields
PlannedText-Flex Fields
AccomplishmentsText-Flex Fields
IssuesText-Flex Fields
Actual HoursText-Flex Fields
Task CalendarText-Flex Fields
Task AssociationsText-Flex Fields
Task SuccessorText-Flex Fields
Task IdText-Flex Fields
Folder HierarchyText-Flex Fields
Task PredecessorText-Flex Fields