Skip to content

Simple script I use to get time reports from toggl and pivotal tracker.

Notifications You must be signed in to change notification settings

luis-alvarez/timetracker-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggl/Pivotal Export

This is just a quick script I made for exporting time tracked in Toggl.com/tracker of Pivotal Tasks.

To use it, create a config.json file that includes the restTokens and config for the pivotal tracker project and Toggl workspace.

EG config.json file

{
  "pivotalTrackerRESTToken": "asdfasdfasdf",
  "pivotalTrackerProjectId": "1111111",
  "togglWorkspaceId": "11111",
  "togglRESTToken": "123123asdfasdf123123",
  "yourName": "Carlos"
}

Run:

node index.js //will export current date tasks to toggl-export.xslx

Available Params

--since="YYYY-MM-DD"

Allows you to specify an start date from which report should be generated. If not specified, today's date is used instead.

--until="YYYY-MM-DD"

Allows you to specify end date for the report date range. If not specified, tomorrow's date is used.

If you ommit both params, you will get a today's time tracked report.

Todo

  • Convert this to be a CLI
  • Add a weekly param to get a last week's report

About

Simple script I use to get time reports from toggl and pivotal tracker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published