https://github.com/navilg/jira-api-python
Some commonly needed Jira operation using python
https://github.com/navilg/jira-api-python
api jira python python3 worklogs
Last synced: 4 months ago
JSON representation
Some commonly needed Jira operation using python
- Host: GitHub
- URL: https://github.com/navilg/jira-api-python
- Owner: navilg
- License: mit
- Created: 2025-06-20T10:52:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-11T11:21:06.000Z (11 months ago)
- Last Synced: 2025-07-11T13:59:42.110Z (11 months ago)
- Topics: api, jira, python, python3, worklogs
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jira API Python
## Requirements
1. Python >= 3.11
2. Windows powershell or Linux shell terminal
3. Jira URL
## How to use it ?
### Generate Personal Access Token
1. Login to Jira with your account
2. Click on your Avatar from top right corner --> Click on profile
3. Click on Personal Access Tokens
4. Create Token
5. COpy the token and keep it safe and secure
### Install modules and dependencies
```bash
# 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
```
### Run the python script
1. Update `.env` file with your credential and jira server details
```bash
cp .env.example .env
# Update .env file
```
2. Run the script
```bash
python fetch_logged_hours.py --username "" --startdate "" --enddate ""
```