A simple script to import JIRA Tempo timesheets to BairesDev TimeTracker
Steps to run:
bundle install
Rename the config template:
mv config.yml.template config.yml
Add your configuration options.
Download the .xls from JIRA and put them into the directory that you set on the config.yml file.
Now, you can use chrome/chromium, just add another option to config.yml
browser: chrome
$ sudo apt install chromium-chromedriver
sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver
Important: Be careful about not repeating the files because currently avoiding duplicates is not supported yet.
Then run and let the magic happens.
bundle exec ruby lib/run.rb
This is a working first approach. There is a lot of work to improve it.
Note about Tempo: If you get a 500 error when exporting to Excel. One or more tickets have Anonymous or not Reporter assigned.
How many hours have you saved?