WARNING: This project is no longer actively maintained.
Prefill E-Conomic with meetings and tasks without hassle!
These few files were created to help automatically pre fill E-conomic. Entries are based on (Google or Office365) Calendar events and JIRA tasks currently assigned to user and matching configurable filter. Duplicates are checked by looking at task description (E-conomic) so it's safe to run this command as many times a day as needed.
Make sure you have pip
installed on your system by calling:
sudo apt-get install -y python-pip
Once pip
is installed run command below to install all required python libraries:
sudo pip install -r requirements.txt
After that rename config.ini.dist
to config.ini
and update it with all required
credentials for JIRA, E-conomic and Google API credentials from Google Developer Console.
As alternative Office365 account credentials could be used.
Calling python run.py
will create all economic entries for today.
What's left is to update hours spent on each task in economic.
On first run you'll be asked to grant privileges to read your Google Calendars if necessary.
Due to application's limitations (see below) it advised to add new entry
in crontab to make sure all tasks will be registered:
1 8-17 * * 1-5 root python /path/to/run.py >/dev/null 2>&1
- adding JIRA tasks for day other than current is not supported (might be tricky to do).