Easily import Tactic times into Teamwork.
You'll need your Teamwork API token and the Teamwork site address :
https://developer.teamwork.com/projects/finding-your-url-and-api-key/api-key-and-url
Start your Tactic entry titles with [teamwork-project-id]
, or [teamwork-project-id/teamwork-task-id]
.
Examples :
[12345/67890] Import Tactic times into Teamwork tasks
[/67890] Import again Tactic times into Teamwork tasks
[12345] Import Tactic times into Teamwork project
Then, export your Tactic entries into a tactic-entries.csv
and run the following command :
$ bin/tactic_to_teamwork import your/folder/tactic-entries.csv --token=your-teamwork-token --domain=myteamworksubdomain
All the Tactic entries following the rules detailed above will be imported into Teamwork.
Once done, a log file is generated in log/
directory.
In case you have imported wrong data, you can revert an import using its log file :
$ bin/tactic_to_teamwork revert logs/import_file_log.txt