- Python >= 3.11
- Windows powershell or Linux shell terminal
- Jira URL
-
Login to Jira with your account
-
Click on your Avatar from top right corner --> Click on profile
-
Click on Personal Access Tokens
-
Create Token
-
COpy the token and keep it safe and secure
# To create and activate virtual environment
# virtualenv .venv
# source .venv/bin/activate
# .venv\Scripts\activate.ps1 # For windows powershell
# Install modules and dependencies
pip install -r requirements.txt- Update
.envfile with your credential and jira server details
cp .env.example .env
# Update .env file- Run the script
python fetch_logged_hours.py --username "<username>" --startdate "<yyyy-mm-dd>" --enddate "<yyyy-mm-dd>"