This project implements a script that gets the hours of a client from Harvest and adds them as a worklog on Jira issues. This script assumes that the user is using the Harvest Time Tracking (Official) plugin on Jira, since it takes the Jira issue ID from the permalink added by this plugin into Harvest time entry.
To run the script:
- Install python requirementes
pip install -r requirements.txt
- Create an
.env
by creating a copy of.env.example
and filling with the correct credentials - Run the script
python load_hours.py
- Note that the script is setup to only log your time entries for the current date. If you wish to log time for a longer period of time, make sure to change the values for
date_from
anddate_to
variables onload_hours.py
script.
- Note that the script is setup to only log your time entries for the current date. If you wish to log time for a longer period of time, make sure to change the values for