Tiny helper to register your work on Redmine using a CSV file.
$ npm install -g git+https://[email protected]/codiumsa/rte.git
Set the following env variables:
export REDMINE_HOST=http://redmine.example.com
export REDMINE_APIKEY=<your token>
Check here for how to get your token.
Your CSV file should have the following format
issue_id,spent_on,start_time,end_time,activity_id,comments
1830,2018-08-30,18:30,20:25,9,"started working"
1830,2018-08-30,20:30,21:05,9,"some progress, beer time"
- issue_id: the issue id to log time on
- spent_on: the date the time was spent
- start_time: the time you started working on the issue
- end_time: the time you finished or stopped working on the issue
- activity_id: the id of the time activity. This parameter is required unless a default activity is defined in Redmine.
- comments: short description for the entry (255 characters max)
More info here
$ rte /path/to/data.csv
MIT