MVP solution to fetch worklogs from the Tempo connected to the JIRA and create a time entries in the Harvest.
- Python3
Before running the program, set-up the API keys in the constants.py
file.
TEMPO_API_TOKEN
- API token from Tempo. Can be created hereATLASSIAN_API_TOKEN
- API token from Atlassian. Can be created hereATLASSIAN_EMAIL
- E-mail associated with theATLASSIAN_API_TOKEN
HARVEST_API_TOKEN
- API token from Harvest. Can be created hereHARVEST_ACCOUNT_ID
- Account ID associated with the Harvest API tokenPROJECT_KEY
- Project key to find in the Tempo and in Harvest. For exampleGT
(GoodTrust
)DAYS
- How many days back to fetch the entries
For the creating time entries, the account associated with the Harvest API token should be able to create, delete, fetch and update the project.
Run the application from the command line with python3 main.py