We have with timrLink an executable program with which tasks can be imported from a csv/Excel file.
1. Structure of csv file
The file encoding must be UTF-8 in both cases.
1.1. tasks import from csv file
The csv file must have the following structure:
The file then contains...
The Tasks TaskA1 and TaskA2 are created with Billable=True. Furthermore, based on this import file, only TaskA1 and A2 will be created with Bookable=true.
Note: Under 3.1 you will find further possibilities to import e.g. fixed subtasks or customer specific fields.
1.2 Project times import from csv file
The csv file for the import of project times requires the following structure:
User references a user via the reference stored in timr as "ExternalID" (see 2.3).
Task references a timr task by name and structure.
John1;Customer A|Project1|TaskA1;01.12.15 8:00;01.12.15 16:30;0:30;;false
In timr a user must be entered as ExternalID=John1. The project time will be imported for this user. If no user with ExternalID=John1 exists, the project time will not be imported.
The project time is posted in timr to the following task:
Attention: If the task does not exist in timr it will be created.
2. Use timrLink:
2.1 download timrLink
You can download the current version of timrLink for different platforms (Windows, Mac, Linux):
2.2 After the download you have to unpack the zip file.
2.3 Create Sync Token:
The import of the tasks from timrLink is done via the timrAPI. For this you need an access token for your account. You can generate this token in timr under Administration/Settings/General/API:
Attention: do not share this token, it allows access to all data in your account!
Here you can also show an "External ID". This allows you, for example, to store an ID for a user with which this user is managed in your system, e.g. employee number.
As soon as you select "Show external ID" = Yes, an additional field "External ID" is displayed in the user properties (and also tasks):
2.4 Customize timrLink configuration file:
In the timrLink directory unzipped in 2.2. you will find the configuration file config.json with the following content:
For the <identifier>, use your timr URL. For the token, use the API token you created in 2.3.
You own the account samplecompany.timr.com:
2.5 Execute import
You can now execute the timrlink file in the unpacked directory as follows:
2.5.1 Import tasks:
timrlink t <file>
2.5.2 Project times import:
timrlink pt <file>
3. Further information
3.1 Extended structure for tasks csv file
During the import it is also possible to import customer specific fields for the tasks. To do this, use the following import format:
It is also possible to import fixed subtasks during import. This is useful if you want to read customers from a CRM and then simply create a fixed task list under each customer:
This creates e.g:
Article is closed for comments.