Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
/ economic-py Public archive

Sync Jira issues and Office365/Google Calendar events with e-conomic

License

Notifications You must be signed in to change notification settings

pawel-lewtak/economic-py

Repository files navigation

economic-py

WARNING: This project is no longer actively maintained.

Prefill E-Conomic with meetings and tasks without hassle!

No Maintenance Intended

Build status Code Health Requirements Status Scrutinizer Code Quality Coverage Status BCH compliance MIT licensed

About

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.

Installation

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.

Usage

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

Known limitations

  • adding JIRA tasks for day other than current is not supported (might be tricky to do).

About

Sync Jira issues and Office365/Google Calendar events with e-conomic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages