Skip to content

navilg/jira-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

# 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
cp .env.example .env
 # Update .env file
  1. Run the script
python fetch_logged_hours.py --username "<username>" --startdate "<yyyy-mm-dd>" --enddate "<yyyy-mm-dd>"

About

Some commonly needed Jira operation using python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages